SecureBlackbox 2020 C++ Edition

Questions / Feedback?

KeyTransportMethod Property

Specifies how the session key is encrypted.

Syntax

ANSI (Cross Platform)
int GetKeyTransportMethod();
int SetKeyTransportMethod(int iKeyTransportMethod); Unicode (Windows) INT GetKeyTransportMethod();
INT SetKeyTransportMethod(INT iKeyTransportMethod);

Possible Values

CXKT_RSA15(0), 
CXKT_RSAOAEP(1)
@property (nonatomic,readwrite,assign,getter=keyTransportMethod,setter=setKeyTransportMethod:) int keyTransportMethod;
- (int)keyTransportMethod;
- (void)setKeyTransportMethod:(int)newKeyTransportMethod;

Possible Values

CXKT_RSA15(0), 
CXKT_RSAOAEP(1)
#define PID_XMLENCRYPTOR_KEYTRANSPORTMETHOD 13

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:

cxktRSA150RSA 1.5 (RSAES-PKCS1-v1_5) encryption is used
cxktRSAOAEP1RSA-OAEP (RSAES-OAEP-ENCRYPT) encryption is used

Data Type

Integer

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