Key Property
The symmetric key to use for decryption.
Syntax
ANSI (Cross Platform) int GetKey(char* &lpKey, int &lenKey);
int SetKey(const char* lpKey, int lenKey); Unicode (Windows) INT GetKey(LPSTR &lpKey, INT &lenKey);
INT SetKey(LPCSTR lpKey, INT lenKey);
@property (nonatomic,readwrite,assign,getter=key,setter=setKey:) NSData* key; - (NSData*)key; - (void)setKey:(NSData*)newKey;
#define PID_MESSAGEDECRYPTOR_KEY 23 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_MessageDecryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MessageDecryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
Use this property to provide the symmetric key to decrypt the data. This property is only applicable for processing data of EncryptedData subtype.
Assign this property before calling Decrypt.
This property is not available at design time.
Data Type
Byte Array