public interface PKCS7Checker extends 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> |
checkSignatureByHash(String digestAlgorithmOID,
byte[] calculatedHashContent,
byte[] signedData)
Check a digital detached signature, informed by parameter signedData, based on calculated hash from content
|
AttachedContentValidation |
getAttached(byte[] signed,
boolean validate)
Extracts the signed content from the digital signature structure,
if it is a signature with attached content.
|
List<SignatureInformations> |
getSignaturesInfo()
get Signature Information for a checked signature
|
checkDetachedSignatureAttachedContentValidation getAttached(byte[] signed, boolean validate)
signed - signed contentvalidate - TRUE (to execute validation) or FALSE (not execute validation)List<SignatureInformations> checkAttachedSignature(byte[] signedData)
checkAttachedSignature in interface CheckersignedData - attached signature to be checkedList<SignatureInformations> checkSignatureByHash(String digestAlgorithmOID, byte[] calculatedHashContent, byte[] signedData)
checkSignatureByHash in interface CheckerdigestAlgorithmOID - OID of algorithm used to calculate a hash from content (ex: 2.16.840.1.101.3.4.2.1 )calculatedHashContent - calculated hashsignedData - detached signatureList<SignatureInformations> getSignaturesInfo()
Copyright © 2021 SERPRO - Serviço Federal de Processamento de Dados. All rights reserved.