Class TSAClient
java.lang.Object
org.apache.pdfbox.examples.signature.TSAClient
Time Stamping Authority (TSA) Client [RFC 3161].
- Author:
- Vakhtang Koroghlishvili, John Hewson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.tsp.TimeStampTokengetTimeStampToken(InputStream content)
-
Constructor Details
-
TSAClient
- Parameters:
url- the URL of the TSA serviceusername- user name of TSApassword- password of TSAdigest- the message digest to use
-
-
Method Details
-
getTimeStampToken
public org.bouncycastle.tsp.TimeStampToken getTimeStampToken(InputStream content) throws IOException - Parameters:
content-- Returns:
- the time stamp token
- Throws:
IOException- if there was an error with the connection or data from the TSA server, or if the time stamp response could not be validated
-