|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSAClient
Time Stamp Authority client (caller) interface.
Interface used by the PdfPKCS7 digital signature builder to call Time Stamp Authority providing RFC 3161 compliant time stamp token.
Method Summary | |
---|---|
MessageDigest |
getMessageDigest()
Gets the MessageDigest to digest the data imprint |
byte[] |
getTimeStampToken(byte[] imprint)
Get RFC 3161 timeStampToken. |
int |
getTokenSizeEstimate()
Get the time stamp token size estimate. |
Method Detail |
---|
int getTokenSizeEstimate()
MessageDigest getMessageDigest() throws GeneralSecurityException
GeneralSecurityException
byte[] getTimeStampToken(byte[] imprint) throws Exception
imprint
- byte[] - data imprint to be time-stamped
Exception
- - TSA request failed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |