Interface EvidenceRecordAnalyzer
- All Superinterfaces:
DocumentAnalyzer
- All Known Implementing Classes:
ASN1EvidenceRecordAnalyzer, DefaultEvidenceRecordAnalyzer, XMLEvidenceRecordAnalyzer
Interface to perform validation of an evidence record document
-
Method Summary
Modifier and TypeMethodDescriptionReturns a single EvidenceRecord to be validatedThis method returns a type of the evidence record supported by the current validatorvoidsetEmbeddedEvidenceRecordHelper(EmbeddedEvidenceRecordHelper embeddedEvidenceRecordHelper) Sets a helper for processing and validation of the embedded evidence record typevoidsetEvidenceRecordIncorporationType(EvidenceRecordIncorporationType evidenceRecordIncorporationType) Sets the incorporation type of the evidence record within a signature's unsigned attributes NOTE: only used for attached CAdES evidence recordsvoidSets the origin of the extracted evidence recordMethods inherited from interface DocumentAnalyzer
getDetachedEvidenceRecords, getDetachedTimestamps, getDocument, getOriginalDocuments, getOriginalDocuments, getSignatures, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, isSupported, setCertificateVerifier, setContainerContents, setDetachedContents, setDetachedEvidenceRecordDocuments, setManifestFile, setSignaturePolicyProvider, setSignaturePolicyValidatorLoader, setSigningCertificateSource, setTokenIdentifierProvider, setValidationContextExecutor, setValidationTime, validate
-
Method Details
-
getEvidenceRecord
EvidenceRecord getEvidenceRecord()Returns a single EvidenceRecord to be validated- Returns:
EvidenceRecord
-
getEvidenceRecordType
EvidenceRecordTypeEnum getEvidenceRecordType()This method returns a type of the evidence record supported by the current validator- Returns:
EvidenceRecordTypeEnum
-
setEvidenceRecordOrigin
Sets the origin of the extracted evidence recordDefault : EvidenceRecordOrigin.EXTERNAL
- Parameters:
origin-EvidenceRecordOrigin
-
setEvidenceRecordIncorporationType
void setEvidenceRecordIncorporationType(EvidenceRecordIncorporationType evidenceRecordIncorporationType) Sets the incorporation type of the evidence record within a signature's unsigned attributes NOTE: only used for attached CAdES evidence records- Parameters:
evidenceRecordIncorporationType-EvidenceRecordIncorporationType
-
setEmbeddedEvidenceRecordHelper
Sets a helper for processing and validation of the embedded evidence record type- Parameters:
embeddedEvidenceRecordHelper-EmbeddedEvidenceRecordHelper
-