DecryptionKey Property
The symmetric (session) key used to encrypt the data.
Syntax
ANSI (Cross Platform) int GetDecryptionKey(char* &lpDecryptionKey, int &lenDecryptionKey);
int SetDecryptionKey(const char* lpDecryptionKey, int lenDecryptionKey); Unicode (Windows) INT GetDecryptionKey(LPSTR &lpDecryptionKey, INT &lenDecryptionKey);
INT SetDecryptionKey(LPCSTR lpDecryptionKey, INT lenDecryptionKey);
@property (nonatomic,readwrite,assign,getter=decryptionKey,setter=setDecryptionKey:) NSData* decryptionKey; - (NSData*)decryptionKey; - (void)setDecryptionKey:(NSData*)newDecryptionKey;
#define PID_XMLDECRYPTOR_DECRYPTIONKEY 1 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_XMLDecryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_XMLDecryptor_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
Use this property to provide the encryption symmetric (session) key that will be used to encrypt a data.
It is required when the EncryptKey property is disabled. If the EncryptKey property is enabled, and no value is set, the component will generate a random session key (recommended).
This property is not available at design time.
Data Type
Byte Array