Class PKIMessageResponseData
- java.lang.Object
-
- org.certificateservices.messages.csmessages.CSMessageResponseData
-
- org.certificateservices.messages.pkimessages.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.
-
-
Field Summary
-
Fields inherited from class org.certificateservices.messages.csmessages.CSMessageResponseData
destination, isForwardableResponse, messageId, messageName, messageProperties, relatedEndEntity, responseData, responseMessage
-
-
Constructor Summary
Constructors Constructor Description PKIMessageResponseData()Empty constructorPKIMessageResponseData(java.lang.String messageId, java.lang.String messageName, java.lang.String relatedEndEntity, java.lang.String destination, byte[] responseData)Default constructorPKIMessageResponseData(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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()-
Methods inherited from class org.certificateservices.messages.csmessages.CSMessageResponseData
getDestination, getIsForwardableResponse, getMessageId, getMessageName, getMessageProperties, getRelatedEndEntity, getResponseData, getResponseMessage, isForwardable, setDestination, setIsForwardableResponse, setMessageId, setMessageName, setRelatedEndEntity, setResponseData, setResponseMessage
-
-
-
-
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 messagemessageName- the name of the message in the responserelatedEndEntity- 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 messagemessageName- the name of the message in the responserelatedEndEntity- the related end entity of the message.destination- the PKI Message destination to send the message to.responseData- the response dataisForwardableResponse- true if response is forwardable.
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classCSMessageResponseData
-
-