IPWorks EDI 2020 macOS Edition

Questions / Feedback?

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.

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