|
DigiStamp.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdgs.tlkt.TsRequest
Structure of data sent in a time stamp request. The 'TimeStampReq' structure from IETF Time Stamp Protocol RFC3161. Contains
| Constructor Summary | |
TsRequest()
TSRequest constructor. |
|
TsRequest(boolean includeCerts)
Create a request and specify if the certificates should be included with the response. |
|
TsRequest(byte[] encodedTSR)
Decode a Time Stamp Request. |
|
| Method Summary | |
byte[] |
asEncoded()
This method returns a DER encoded time stamp request. |
boolean |
getCertRequest()
Will the time stamp include the x.509 certificates? |
byte[] |
getHashedMessage()
TSP hashedMessage. |
java.math.BigInteger |
getNonce()
TSP nonce. |
java.lang.String |
getPolicy()
Time stamp authority policy. |
java.math.BigInteger |
getVersion()
TSP version. |
boolean |
setCertRequest(boolean includeCerts)
Should the returned time stamp include the x.509 certificates? |
boolean |
setHashedMessage(byte[] aHashValue)
TSP hashedMessage. |
boolean |
setHashedMessage(byte[] aHashValue,
java.lang.String objectIdentifier)
TSP hashedMessage and algorithm identifier. |
boolean |
setNonce(java.math.BigInteger aNonceValue)
TSP nonce. |
boolean |
setPolicy(java.lang.String anOID)
Time stamp authority policy under which the time stamp is provided. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TsRequest()
public TsRequest(boolean includeCerts)
includeCerts - -
true if should include the certificates in the response
public TsRequest(byte[] encodedTSR)
throws ExceptionDgsEncode
asEncoded().
encodedTSR -
ExceptionDgsEncode| Method Detail |
public byte[] asEncoded()
throws ExceptionDgsInvalidState,
ExceptionDgsEncode
ExceptionDgsInvalidState - The request could not be encoded.
ExceptionDgsEncodepublic boolean getCertRequest()
public byte[] getHashedMessage()
public java.math.BigInteger getNonce()
public java.lang.String getPolicy()
public java.math.BigInteger getVersion()
public boolean setCertRequest(boolean includeCerts)
SignedDataA.getCertificates()for
additional details.
includeCerts - boolean true indicates to include the x.509 public key
certificates
public boolean setHashedMessage(byte[] aHashValue)
throws ExceptionDgsNotSupported
setHashedMessage(byte[],String)
aHashValue - byte[]
ExceptionDgsNotSupported
public boolean setHashedMessage(byte[] aHashValue,
java.lang.String objectIdentifier)
throws ExceptionDgsNotSupported
aHashValue - byte[], String objectIdentifier
ExceptionDgsNotSupported
public boolean setNonce(java.math.BigInteger aNonceValue)
throws ExceptionDgsNotSupported
aNonceValue - BigInteger
ExceptionDgsNotSupported
public boolean setPolicy(java.lang.String anOID)
throws ExceptionDgsNotSupported
anOID - String
ExceptionDgsNotSupported
|
Copyright 2000-2008 DigiStamp, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||