keyEncryptionType (property)
Specifies how the session key is encrypted.
Syntax
@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)
public var keyEncryptionType: XmlencryptorKeyEncryptionTypes { get {...}
set {...} }
public enum XmlencryptorKeyEncryptionTypes : Int32 { case cxetKeyTransport = 0 case cxetKeyWrap = 1 }
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 |