IPWorks EDI 2020 JavaScript Edition

Questions / Feedback?

EncryptionAlgorithm Property

The algorithm used to encrypt the EDI data.

Syntax


 getEncryptionAlgorithm(): string;

 setEncryptionAlgorithm(encryptionAlgorithm: string): void;

Default Value

"AES128GCM"

Remarks

If RecipientCerts contains a valid certificate, the data will be encrypted using this certificate and the algorithm specified in EncryptionAlgorithm. If EncryptionAlgorithm is set to the empty string, the data will not be encrypted.

The class supports "3DES", or industry-standard 168-bit Triple-DES encryption.

The class supports "AES" encryption with a default keysize of 128 bits. You may also set "AESCBC192" or "AESCBC256" for 192- and 256-bit keysizes.

Possible values are:

  • 3DES
  • DES
  • AESCBC128
  • AESCBC192
  • AESCBC256
  • AES128GCM (default)
  • AES192GCM
  • AES256GCM

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