IPWorks EDI 2020 Kotlin Edition

Questions / Feedback?

RecipientInfo Event

Fired for each recipient certificate of the encrypted message.

Syntax

public open class DefaultAs2receiverEventListener : As2receiverEventListener {
  ...
  public override fun recipientInfo(e: As2receiverRecipientInfoEvent) {}
  ...
}

public class As2receiverRecipientInfoEvent {
  val issuer: String?
  val serialNumber: String?
  val subjectKeyIdentifier: String?
  val encryptionAlgorithm: String?
}

Remarks

When ParseRequest or ProcessRequest has been called on a valid encrypted message, this event will fire for each recipient certificate that the message has been encrypted for.

Issuer is the subject of the issuer certificate.

SerialNumber is the serial number of the encryption certificate.

SubjectKeyIdentifier is the X.509 subjectKeyIdentifier extension value of the certificate used to sign the message encoded as a hex string.

EncryptionAlgorithm is the encryption algorithm used to encrypt the message. Possible values are:

  • "3DES"
  • "DES"
  • "RC2CBC40"
  • "RC2CBC64"
  • "RC2CBC128" or "RC2"
  • "AESCBC128" or "AES"
  • "AESCBC192"
  • "AESCBC256"

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Kotlin Edition - Version 20.0 [Build 8033]