Interface AdESReportAggregator
- All Known Implementing Classes:
DefaultAdESReportAggregator, NullAdESReportAggregator
public interface AdESReportAggregator
The interface for AdES reports aggregator implementations.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the generated reportvoidproofOfExistenceFound(byte[] timeStampSignature, boolean document) Called when a timestamp is encounteredvoidreportSignatureValidationFailure(boolean isInconclusive, String reason) Called after signature validation failed for the current signaturevoidCalled after a successful validation of the current signaturevoidstartSignatureValidation(byte[] signature, String name, Date signingDate) Called at the start of a signature validation
-
Method Details
-
startSignatureValidation
-
proofOfExistenceFound
void proofOfExistenceFound(byte[] timeStampSignature, boolean document) Called when a timestamp is encountered- Parameters:
timeStampSignature- timestamp container as a byte[]document- true when the timestamp is document level, false for a signature timestamp
-
reportSignatureValidationSuccess
void reportSignatureValidationSuccess()Called after a successful validation of the current signature -
reportSignatureValidationFailure
Called after signature validation failed for the current signature- Parameters:
isInconclusive-truewhen validation is neither valid nor invalid,falsewhen it is invalidreason- the failure reason
-
getReport
-