EncryptionType Property
The encryption type for RNIF 2.0.
Syntax
public var encryptionType: RnifreceiverEncryptionTypes {
get {...}
set {...} }
public enum RnifreceiverEncryptionTypes: Int32 { case etNoEncryption = 0 case etEncryptServiceContent = 1 case etEncryptPayloadContainer = 2 }
Default Value
0
Remarks
RNIF 2.0 allows encryption of a message at three different levels:
0 (etNoEncryption) | The entire contents of the RosettaNet message are unencrypted. |
1 (etEncryptServiceContent) | The service content and attachments are encrypted. |
2 (etEncryptPayloadContainer) | The service header, content, and attachments are encrypted. |
NOTE: By default, the value is etNoEncryption. Therefore, if encryption is desired, the EncryptionType property must be specified, even if a certificate is supplied through the certificate properties. See RecipientCert for more information on specifying a certificate for encryption.