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:
cxetKeyTransport | 0 | The key is encrypted using public-key based algorithm |
cxetKeyWrap | 1 | The key is encrypted using symmetric algorithm with pre-shared secret key |
Data Type
Integer