@Deprecated public interface TimeStampSigner
| Modifier and Type | Method and Description |
|---|---|
List<Timestamp> |
checkTimeStampOnSignature(byte[] signature)
Deprecated.
Check a timestamp on CADES signature
|
Timestamp |
checkTimeStampWithContent(byte[] timeStamp,
byte[] content)
Deprecated.
Check a timestamp for a informed content
|
Timestamp |
checkTimeStampWithHash(byte[] timeStamp,
byte[] hash)
Deprecated.
Check a timestamp for a informed calculated hash from content
|
byte[] |
doTimeStampForContent(byte[] content)
Deprecated.
Generates a timestamp for a content
|
byte[] |
doTimeStampForSignature(byte[] signature)
Deprecated.
Generates a timestamp for a Digital Signature on CADES format,
the result will contains the signature whith timestamp
|
byte[] |
doTimeStampFromHashContent(byte[] hash)
Deprecated.
Generates a timestamp to a previous calculated hash from a content
|
void |
setCertificates(Certificate[] certificate)
Deprecated.
Assign a Certificate
|
void |
setPrivateKey(PrivateKey privateKey)
Deprecated.
Private key required for asymmetric cryptography
|
void |
setSignaturePolicy(PolicyFactory.Policies signaturePolicy)
Deprecated.
Set a signature policy
|
byte[] doTimeStampForSignature(byte[] signature)
signature - signature to be timestampedbyte[] doTimeStampForContent(byte[] content)
content - to be signbyte[] doTimeStampFromHashContent(byte[] hash)
hash - to be signList<Timestamp> checkTimeStampOnSignature(byte[] signature)
signature - CADES signatureTimestamp checkTimeStampWithContent(byte[] timeStamp, byte[] content)
timeStamp - timestamp to checkcontent - content related to timestampTimestamp checkTimeStampWithHash(byte[] timeStamp, byte[] hash)
timeStamp - timestamp contenthash - hash to checkvoid setPrivateKey(PrivateKey privateKey)
privateKey - set private keyvoid setCertificates(Certificate[] certificate)
certificate - set certificatevoid setSignaturePolicy(PolicyFactory.Policies signaturePolicy)
signaturePolicy - set signature policyCopyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.