Class TSAClient
- java.lang.Object
-
- org.apache.pdfbox.examples.signature.TSAClient
-
public class TSAClient extends java.lang.ObjectTime Stamping Authority (TSA) Client [RFC 3161].- Author:
- Vakhtang Koroghlishvili, John Hewson
-
-
Constructor Summary
Constructors Constructor Description TSAClient(java.net.URL url, java.lang.String username, java.lang.String password, java.security.MessageDigest digest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.tsp.TimeStampTokengetTimeStampToken(java.io.InputStream content)
-
-
-
Method Detail
-
getTimeStampToken
public org.bouncycastle.tsp.TimeStampToken getTimeStampToken(java.io.InputStream content) throws java.io.IOException- Parameters:
content-- Returns:
- the time stamp token
- Throws:
java.io.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
-
-