com.iplanet.trustbase.initiator.dsms
Class StatusCheckData

java.lang.Object
  |
  +--com.iplanet.trustbase.initiator.dsms.StatusCheckData

public class StatusCheckData
extends java.lang.Object

StatusCheckData holds the all information relating to a certificate status check


Constructor Summary
StatusCheckData(CertStatus[] certStatus, java.util.Date timestamp, byte[] txID, byte[] requestData, byte[] responseData, java.lang.String responderURL, DataConverterClient client)
          Construct a StatusCheckData object.
 
Method Summary
 CertStatus[] getCertStatus()
          Get the CertStatus object.
 byte[] getHumanReadableRequestData()
          Get a human readable version of the request data - this data may be post processed to allow it to be displayed, For Example an OCSP request will be Base64 Encoded.
 byte[] getHumanReadableResponseData()
          Get the human readable version of the response data - this data may be post processed to allow it to be displayed, for Example an OCSP response will be Base64 Encoded.
 byte[] getRequestData()
          Get the raw request message - Exactly reflects what is sent over the network, this data may be a binary representation.
 java.util.Date getRequestTime()
          Get the Date at which this transaction took place.
 java.lang.String getResponderURL()
          Get the URL of the responder from which this status data was obtained.
 byte[] getResponseData()
          Get the raw response message - Exactly reflects what is sent over the network, this data may be a binary representation.
 byte[] getTransactionID()
          Get The Transaction Id that this transaction was.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatusCheckData

public StatusCheckData(CertStatus[] certStatus,
                       java.util.Date timestamp,
                       byte[] txID,
                       byte[] requestData,
                       byte[] responseData,
                       java.lang.String responderURL,
                       DataConverterClient client)
Construct a StatusCheckData object.
Parameters:
certStatus - the result of the check
timestamp - the time at which the check was made
txID - the transaction ID associated with the check
requestData - the raw request message
responseData - the raw response message
checkSubjectPath - the certificate path whose leaf was the subject of the check
responderURL - the responder from which this status info was obtained
Method Detail

getCertStatus

public CertStatus[] getCertStatus()
Get the CertStatus object.
Returns:
the cert status

getRequestData

public byte[] getRequestData()
Get the raw request message - Exactly reflects what is sent over the network, this data may be a binary representation.
Returns:
the raw request message

getResponseData

public byte[] getResponseData()
Get the raw response message - Exactly reflects what is sent over the network, this data may be a binary representation.
Returns:
the raw response data

getHumanReadableRequestData

public byte[] getHumanReadableRequestData()
                                   throws CSCException
Get a human readable version of the request data - this data may be post processed to allow it to be displayed, For Example an OCSP request will be Base64 Encoded.
Returns:
the human readable data.

getHumanReadableResponseData

public byte[] getHumanReadableResponseData()
                                    throws CSCException
Get the human readable version of the response data - this data may be post processed to allow it to be displayed, for Example an OCSP response will be Base64 Encoded.
Returns:
The human readable data.

getTransactionID

public byte[] getTransactionID()
Get The Transaction Id that this transaction was.
Returns:
the raw transaction ID

getRequestTime

public java.util.Date getRequestTime()
Get the Date at which this transaction took place.
Returns:
the Date at which the request was made

getResponderURL

public java.lang.String getResponderURL()
Get the URL of the responder from which this status data was obtained.
Returns:
the url of the responder from which this status data was obtained