Class As2DispositionNotificationOptions


  • public class As2DispositionNotificationOptions
    extends Object
    Represents the AS2 Header Disposition-notifications-options

    The following input string should yield an As2DispositionNotificationOptions with two parameters:

     Disposition-notification-options: signed-receipt-protocol=required,pkcs7-signature;
      signed-receipt-micalg=required,sha1,md5
     

    The two parameters are:

    1. signed-receipt-protocol
    2. signed-receipt-micalg
    Author:
    steinar Date: 17.10.13 Time: 21:08
    • Constructor Detail

      • As2DispositionNotificationOptions

        public As2DispositionNotificationOptions​(List<network.oxalis.as2.model.As2DispositionNotificationOptions.Parameter> parameters)
    • Method Detail

      • getParameters

        public List<network.oxalis.as2.model.As2DispositionNotificationOptions.Parameter> getParameters()
      • getSignedReceiptMicalg

        public network.oxalis.as2.model.As2DispositionNotificationOptions.Parameter getSignedReceiptMicalg()
        From the official AS2 spec page 22 : The "signed-receipt-micalg" parameter is a list of MIC algorithms preferred by the requester for use in signing the returned receipt. The list of MIC algorithms SHOULD be honored by the recipient from left to right.
      • getPreferredSignedReceiptMicAlgorithmName

        public String getPreferredSignedReceiptMicAlgorithmName()
        Returns:
        Use the preferred mic algorithm for signed receipt, for PEPPOL AS2 this should be "sha1"
      • getSignedReceiptProtocol

        public network.oxalis.as2.model.As2DispositionNotificationOptions.Parameter getSignedReceiptProtocol()