KeyId Property
The Id of the key used to encrypt the message.
Syntax
ANSI (Cross Platform) char* GetKeyId();
int SetKeyId(const char* lpszKeyId); Unicode (Windows) LPWSTR GetKeyId();
INT SetKeyId(LPCWSTR lpszKeyId);
@property (nonatomic,readwrite,assign,getter=keyId,setter=setKeyId:) NSString* keyId; - (NSString*)keyId; - (void)setKeyId:(NSString*)newKeyId;
#define PID_JWE_KEYID 15 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_JWE_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_JWE_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property optionally specifies the Id of the key used to encrypt the message.
Any string value may be supplied here to help the other party identify the key used to encrypt the message. This may be set before calling the Encrypt method.
Data Type
String