| Modifier and Type | Field and Description |
|---|---|
| pack-priv TimeStampResp | |
| pack-priv TimeStampToken |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TimeStampResponse(byte[]
the byte array containing the encoded response. resp)Create a TimeStampResponse from a byte array containing an ASN.1 encoding. |
| public | TimeStampResponse(InputStream
the input stream containing the encoded response. in)Create a TimeStampResponse from an input stream containing an ASN.1 encoding. |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public byte[] | getEncoded(String
encoding style ("DER", "DL", "BER") encoding)return the ASN.1 encoded representation of this object for the specific encoding type. |
| public PKIFailureInfo | |
| public int | |
| public String | |
| public TimeStampToken | |
| private static TimeStampResp | |
| public void | validate(TimeStampRequest
the request to be checked against request)Check this response against to see if it a well formed response for the passed in request. |
| resp | back to summary |
|---|---|
| pack-priv TimeStampResp resp | |
| timeStampToken | back to summary |
|---|---|
| pack-priv TimeStampToken timeStampToken | |
| TimeStampResponse | back to summary |
|---|---|
| public TimeStampResponse(TimeStampResp resp) throws TSPException, IOException | |
| TimeStampResponse | back to summary |
|---|---|
| public TimeStampResponse(byte[] resp) throws TSPException, IOException Create a TimeStampResponse from a byte array containing an ASN.1 encoding.
| |
| TimeStampResponse | back to summary |
|---|---|
| public TimeStampResponse(InputStream in) throws TSPException, IOException Create a TimeStampResponse from an input stream containing an ASN.1 encoding.
| |
| TimeStampResponse | back to summary |
|---|---|
| pack-priv TimeStampResponse(DLSequence dlSequence) throws TSPException, IOException | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException return the ASN.1 encoded representation of this object. | |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded(String encoding) throws IOException return the ASN.1 encoded representation of this object for the specific encoding type.
| |
| getFailInfo | back to summary |
|---|---|
| public PKIFailureInfo getFailInfo() | |
| getStatus | back to summary |
|---|---|
| public int getStatus() | |
| getStatusString | back to summary |
|---|---|
| public String getStatusString() | |
| getTimeStampToken | back to summary |
|---|---|
| public TimeStampToken getTimeStampToken() | |
| readTimeStampResp | back to summary |
|---|---|
| private static TimeStampResp readTimeStampResp(InputStream in) throws IOException, TSPException | |
| validate | back to summary |
|---|---|
| public void validate(TimeStampRequest request) throws TSPException Check this response against to see if it a well formed response for the passed in request. Validation will include checking the time stamp token if the response status is GRANTED or GRANTED_WITH_MODS.
| |