Class PKIMessageResponseData


  • public class PKIMessageResponseData
    extends CSMessageResponseData
    Value class containing the result of a message processing call.

    The information is mainly the response and PKI message destination.

    • Constructor Detail

      • PKIMessageResponseData

        public PKIMessageResponseData()
        Empty constructor
      • PKIMessageResponseData

        public PKIMessageResponseData​(java.lang.String messageId,
                                      java.lang.String messageName,
                                      java.lang.String relatedEndEntity,
                                      java.lang.String destination,
                                      byte[] responseData)
        Default constructor
        Parameters:
        messageId - the related id of the message
        messageName - the name of the message in the response
        relatedEndEntity - the related end entity of the message.
        destination - the PKI Message destination to send the message to.
        responseData - the response data
      • PKIMessageResponseData

        public PKIMessageResponseData​(java.lang.String messageId,
                                      java.lang.String messageName,
                                      java.lang.String relatedEndEntity,
                                      java.lang.String destination,
                                      byte[] responseData,
                                      boolean isForwardableResponse)
        Constructor where it's possible to set if the response is a failure response.
        Parameters:
        messageId - the related id of the message
        messageName - the name of the message in the response
        relatedEndEntity - the related end entity of the message.
        destination - the PKI Message destination to send the message to.
        responseData - the response data
        isForwardableResponse - true if response is forwardable.