|
DigiStamp.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdgs.tlkt.TsResponse
Response packet of data from the DigiStamp server. TSP spec: TimeStampResp
Contains process status messages and the actual time stamp if processing was successful.
Several static members are provide to help tranlate the status numbers to easier to read programming labels.
| Field Summary | |
static int |
BAD_REQUEST
PKIFailure information specific TSP badRequest = 2. |
static int |
EXT_NA
PKIFailure information specific TSP unacceptedExtensions = 16. |
static int |
FORMAT
PKIFailure information specific TSP badDataFormat = 5. |
static java.math.BigInteger |
GRANTED
PKIStatus level information RFC2510 PKIStatus = 0 |
static int |
INFO_NA
PKIFailure information specific TSP addInfoNotAvailable = 16. |
static int |
NO_FAIL_INFO
PKIFailure in verify, no information available = -1. |
static int |
NOT_SUPPORTED
PKIFailure information specific TSP badAlg = 0. |
static java.math.BigInteger |
REJECTION
PKIStatus level information RFC2510 PKIStatus = 2 |
static int |
TIME_NA
PKIFailure information specific TSP timeNotAvailable = 14. |
static int |
UNACCEPTED_POLICY
PKIFailure information specific TSP unacceptedPolicy = 15. |
static int |
VERIFY_FAIL_HASH_TST
PKIFailure in verify, SHA-1 hash of content did not equal signed attribute value = 102. |
static int |
VERIFY_FAIL_KEY_NF
PKIFailure in verify, DigiStamp did not have the public key to do verify = 101. |
static int |
VERIFY_FAIL_SIG
PKIFailure in verify, signature did not verify = 103. |
static int |
VERIFY_GOOD
PKIFailure in verify, verify of time stamp was successful = 100. |
| Constructor Summary | |
TsResponse(byte[] encodeTSResp)
TsResponse constructor by supplying a DER encoded byte[]. |
|
| Method Summary | |
byte[] |
asEncoded()
This method returns a DER encoded time stamp response that was used to create this instance. |
int |
getFailInfo()
TSP PKIFailureInfo |
java.lang.String |
getPkiFreeText()
RFC2510 PKIFreeText |
java.math.BigInteger |
getPkiStatus()
RFC2510 PKIStatus |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BAD_REQUEST
public static final int EXT_NA
public static final int FORMAT
public static final java.math.BigInteger GRANTED
public static final int INFO_NA
public static final int NO_FAIL_INFO
public static final int NOT_SUPPORTED
public static final java.math.BigInteger REJECTION
public static final int TIME_NA
public static final int UNACCEPTED_POLICY
public static final int VERIFY_FAIL_HASH_TST
public static final int VERIFY_FAIL_KEY_NF
public static final int VERIFY_FAIL_SIG
public static final int VERIFY_GOOD
| Constructor Detail |
public TsResponse(byte[] encodeTSResp)
throws ExceptionDgsEncode
| Method Detail |
public byte[] asEncoded()
public int getFailInfo()
public java.lang.String getPkiFreeText()
public java.math.BigInteger getPkiStatus()
|
Copyright 2000-2008 DigiStamp, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||