EncryptionType Property
The encryption type for RNIF 2.0.
Syntax
public RnifsenderEncryptionTypes EncryptionType { get; set; }
enum RnifsenderEncryptionTypes { etNoEncryption, etEncryptServiceContent, etEncryptPayloadContainer }
Public Property EncryptionType As RnifsenderEncryptionTypes
Enum RnifsenderEncryptionTypes etNoEncryption etEncryptServiceContent etEncryptPayloadContainer End Enum
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.
This property is not available at design time.