IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

EncryptionType Property

The encryption type for RNIF 2.0.

Syntax


 getEncryptionType(): RnifreceiverEncryptionTypes;

 setEncryptionType(encryptionType: RnifreceiverEncryptionTypes): void;

enum RnifreceiverEncryptionTypes { etNoEncryption, etEncryptServiceContent, etEncryptPayloadContainer }

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 JavaScript Edition - Version 20.0 [Build 8262]