public class TimeStampResponse
extends java.lang.Object
| Constructor and Description |
|---|
TimeStampResponse(TimeStampResp resp) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncoded()
return the ASN.1 encoded representation of this object.
|
byte[] |
getEncoded(java.lang.String encoding)
return the ASN.1 encoded representation of this object.
|
PKIFailureInfo |
getFailInfo() |
int |
getStatus() |
java.lang.String |
getStatusString() |
TimeStampToken |
getTimeStampToken() |
void |
validate(TimeStampRequest request)
Check this response against to see if it a well formed response for
the passed in request.
|
public TimeStampResponse(TimeStampResp resp)
throws TSPException,
java.io.IOException
TSPExceptionjava.io.IOExceptionpublic int getStatus()
public java.lang.String getStatusString()
public PKIFailureInfo getFailInfo()
public TimeStampToken getTimeStampToken()
public void validate(TimeStampRequest request) throws TSPException
request - the request to be checked againstTSPException - if the request can not match this response.public byte[] getEncoded()
throws java.io.IOException
java.io.IOExceptionpublic byte[] getEncoded(java.lang.String encoding)
throws java.io.IOException
java.io.IOException