KeyId Property
The Id of the key used to sign 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_JWS_KEYID 14 IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_JWS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_JWS_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 sign the message.
Any string value may be supplied here to help the other party identify the key used to sign the message. This may be set before calling the Sign method.
Data Type
String