public interface TimeStampGenerator
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generateTimeStamp() |
void |
initialize(byte[] content,
PrivateKey privateKey,
Certificate[] certificates,
byte[] hash) |
void |
validateTimeStamp(byte[] content,
byte[] response,
byte[] hash) |
void initialize(byte[] content,
PrivateKey privateKey,
Certificate[] certificates,
byte[] hash)
throws CertificateCoreException
content - to be sign, if it is the parameter hash must to be nullprivateKey - authorized to use a TSA servicecertificates - trusted chainhash - to be sign, if it is assigned the parameter content must to be nullCertificateCoreException - exceptionbyte[] generateTimeStamp()
throws CertificateCoreException
CertificateCoreException - exceptionvoid validateTimeStamp(byte[] content,
byte[] response,
byte[] hash)
throws CertificateCoreException
content - to be sign, if it is the parameter hash must to be nullresponse - signed timestamp from TSAhash - to be sign, if it is assigned the parameter content must to be nullCertificateCoreException - exceptionCopyright © 2025 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.