public interface Checker
| Modifier and Type | Method and Description |
|---|---|
List<SignatureInformations> |
checkAttachedSignature(byte[] signedData)
Check a digital signature with attached content, informed by parameter signedData
|
List<SignatureInformations> |
checkDetachedSignature(byte[] content,
byte[] signedData)
Check an digital detached signature, informed by parameter signedData and it's content
|
List<SignatureInformations> |
checkSignatureByHash(String digestAlgorithmOID,
byte[] calculatedHashContent,
byte[] signedData)
Check a digital detached signature, informed by parameter signedData, based on calculated hash from content
|
List<SignatureInformations> checkAttachedSignature(byte[] signedData)
signedData - attached signature to be checkedList<SignatureInformations> checkDetachedSignature(byte[] content, byte[] signedData)
content - content to be checkedsignedData - detached signatureList<SignatureInformations> checkSignatureByHash(String digestAlgorithmOID, byte[] calculatedHashContent, byte[] signedData)
digestAlgorithmOID - OID of algorithm used to calculate a hash from content (ex: 2.16.840.1.101.3.4.2.1 )calculatedHashContent - calculated hashsignedData - detached signatureCopyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.