SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KeyEncryptionType Property

Specifies how the session key is encrypted.

Syntax

ANSI (Cross Platform)
int GetKeyEncryptionType();
int SetKeyEncryptionType(int iKeyEncryptionType); Unicode (Windows) INT GetKeyEncryptionType();
INT SetKeyEncryptionType(INT iKeyEncryptionType);

Possible Values

CXET_KEY_TRANSPORT(0), 
CXET_KEY_WRAP(1)
@property (nonatomic,readwrite,assign,getter=keyEncryptionType,setter=setKeyEncryptionType:) int keyEncryptionType;
- (int)keyEncryptionType;
- (void)setKeyEncryptionType:(int)newKeyEncryptionType;

Possible Values

CXET_KEY_TRANSPORT(0), 
CXET_KEY_WRAP(1)
#define PID_XMLENCRYPTOR_KEYENCRYPTIONTYPE 12

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);

Default Value

0

Remarks

This property specifies how the session key is encrypted.

Supported values:

cxetKeyTransport0The key is encrypted using public-key based algorithm
cxetKeyWrap1The key is encrypted using symmetric algorithm with pre-shared secret key

Data Type

Integer

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