SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KeyDecryptionKey Property

The symmetric key used to decrypt a session key.

Syntax

ANSI (Cross Platform)
int GetKeyDecryptionKey(char* &lpKeyDecryptionKey, int &lenKeyDecryptionKey);
int SetKeyDecryptionKey(const char* lpKeyDecryptionKey, int lenKeyDecryptionKey); Unicode (Windows) INT GetKeyDecryptionKey(LPSTR &lpKeyDecryptionKey, INT &lenKeyDecryptionKey);
INT SetKeyDecryptionKey(LPCSTR lpKeyDecryptionKey, INT lenKeyDecryptionKey);
@property (nonatomic,readwrite,assign,getter=keyDecryptionKey,setter=setKeyDecryptionKey:) NSData* keyDecryptionKey;
- (NSData*)keyDecryptionKey;
- (void)setKeyDecryptionKey:(NSData*)newKeyDecryptionKey;
#define PID_XMLDECRYPTOR_KEYDECRYPTIONKEY 20

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 decryption symmetric key that will be used to decrypt a session key. It is required when EncryptKey property is enabled and KeyEncryptionType set to cxetKeyWrap value.

This property is not available at design time.

Data Type

Byte Array

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]