KeyEncryptionKey Property
The symmetric key used to encrypt a session key.
Syntax
ANSI (Cross Platform) int GetKeyEncryptionKey(char* &lpKeyEncryptionKey, int &lenKeyEncryptionKey);
int SetKeyEncryptionKey(const char* lpKeyEncryptionKey, int lenKeyEncryptionKey); Unicode (Windows) INT GetKeyEncryptionKey(LPSTR &lpKeyEncryptionKey, INT &lenKeyEncryptionKey);
INT SetKeyEncryptionKey(LPCSTR lpKeyEncryptionKey, INT lenKeyEncryptionKey);
@property (nonatomic,readwrite,assign,getter=keyEncryptionKey,setter=setKeyEncryptionKey:) NSData* keyEncryptionKey; - (NSData*)keyEncryptionKey; - (void)setKeyEncryptionKey:(NSData*)newKeyEncryptionKey;
#define PID_XMLENCRYPTOR_KEYENCRYPTIONKEY 11 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 key that will be used to encrypt a session key. It is required when the EncryptKey property is enabled and KeyEncryptionType is set to cxetKeyWrap value.
This property is not available at design time.
Data Type
Byte Array