Interface EvidenceRecordAnalyzer
- All Superinterfaces:
DocumentAnalyzer
Interface to perform validation of an evidence record document
-
Method Summary
Modifier and TypeMethodDescriptionReturns a single EvidenceRecord to be validatedeu.europa.esig.dss.enumerations.EvidenceRecordTypeEnumThis 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(eu.europa.esig.dss.enumerations.EvidenceRecordIncorporationType evidenceRecordIncorporationType) Sets the incorporation type of the evidence record within a signature's unsigned attributes NOTE: only used for attached CAdES evidence recordsvoidsetEvidenceRecordOrigin(eu.europa.esig.dss.enumerations.EvidenceRecordOrigin origin) Sets 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
eu.europa.esig.dss.enumerations.EvidenceRecordTypeEnum getEvidenceRecordType()This method returns a type of the evidence record supported by the current validator- Returns:
EvidenceRecordTypeEnum
-
setEvidenceRecordOrigin
void setEvidenceRecordOrigin(eu.europa.esig.dss.enumerations.EvidenceRecordOrigin origin) Sets the origin of the extracted evidence recordDefault : EvidenceRecordOrigin.EXTERNAL
- Parameters:
origin-EvidenceRecordOrigin
-
setEvidenceRecordIncorporationType
void setEvidenceRecordIncorporationType(eu.europa.esig.dss.enumerations.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
-