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.
(data - 要加时间戳的数据。)
revocationData
- the optional container that needs to be filled up with the revocation data used to validate the TSA certificate chain.
(revocationData - 需要填充用于验证 TSA 证书链的撤销数据的可选容器。)
java.lang.Exception
- in case something went wrong.
(java.lang.Exception - 以防出现问题。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.