EncryptionKey Property
The symmetric (session) key used to encrypt the data.
Syntax
ANSI (Cross Platform) int GetEncryptionKey(char* &lpEncryptionKey, int &lenEncryptionKey);
int SetEncryptionKey(const char* lpEncryptionKey, int lenEncryptionKey); Unicode (Windows) INT GetEncryptionKey(LPSTR &lpEncryptionKey, INT &lenEncryptionKey);
INT SetEncryptionKey(LPCSTR lpEncryptionKey, INT lenEncryptionKey);
@property (nonatomic,readwrite,assign,getter=encryptionKey,setter=setEncryptionKey:) NSData* encryptionKey; - (NSData*)encryptionKey; - (void)setEncryptionKey:(NSData*)newEncryptionKey;
#define PID_XMLENCRYPTOR_ENCRYPTIONKEY 3 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_XMLEncryptor_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_XMLEncryptor_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