public interface TimeStampService
Modifier and Type | Method and Description |
---|---|
byte[] |
timeStamp(SignatureInfo signatureInfo,
byte[] data,
RevocationData revocationData)
Gives back the encoded time-stamp token for the given array of data
bytes.
|
byte[] timeStamp(SignatureInfo signatureInfo, byte[] data, RevocationData revocationData) throws java.lang.Exception
data
- the data to be time-stamped.revocationData
- the optional container that needs to be filled up with the
revocation data used to validate the TSA certificate chain.java.lang.Exception
- in case something went wrong.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.