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:
cxktRSA15 | 0 | RSA 1.5 (RSAES-PKCS1-v1_5) encryption is used |
cxktRSAOAEP | 1 | RSA-OAEP (RSAES-OAEP-ENCRYPT) encryption is used |
Data Type
Integer