public class TSAClient
extends java.lang.Object
Constructor and Description |
---|
TSAClient(java.lang.String url)
Initializes a new instance of the TSAClient class.
|
TSAClient(java.lang.String url,
java.lang.String username,
java.lang.String password)
Initializes a new instance of the TSAClient class.
|
Modifier and Type | Method and Description |
---|---|
TimeStampResponse |
getTimeStampResponse(byte[] digest)
Gets the timetamp response.
|
byte[] |
getTimeStampToken(byte[] digest)
Gets the time stamp token.
|
public TSAClient(java.lang.String url)
url
- the url of the TSApublic TSAClient(java.lang.String url, java.lang.String username, java.lang.String password)
url
- the TSA urlusername
- the usernamepassword
- the passwordpublic TimeStampResponse getTimeStampResponse(byte[] digest) throws java.io.IOException, TSPException
digest
- the digestjava.io.IOException
TSPException
public byte[] getTimeStampToken(byte[] digest) throws java.io.IOException, TSPException
digest
- the digestjava.io.IOException
TSPException