EncryptionType Property
The encryption type for RNIF 2.0.
Syntax
public int getEncryptionType(); public void setEncryptionType(int encryptionType);
Enumerated values: public final static int etNoEncryption = 0; public final static int etEncryptServiceContent = 1; public final static int etEncryptPayloadContainer = 2;
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.
Default Value
0