SecureBlackbox 2020 C++ Edition

Questions / Feedback?

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

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