Class XMLEvidenceRecordAnalyzer
java.lang.Object
eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
eu.europa.esig.dss.evidencerecord.common.validation.DefaultEvidenceRecordAnalyzer
eu.europa.esig.dss.evidencerecord.xml.validation.XMLEvidenceRecordAnalyzer
- All Implemented Interfaces:
DocumentAnalyzer
,EvidenceRecordAnalyzer
Class for validation of an XML Evidence Record (RFC 6283)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
certificateVerifier, containerContents, detachedContents, detachedEvidenceRecordDocuments, document, manifestFile, signingCertificateSource
-
Constructor Summary
ConstructorDescriptionXMLEvidenceRecordAnalyzer
(DSSDocument document) The default constructor for XMLEvidenceRecordValidator. -
Method Summary
Modifier and TypeMethodDescriptionprotected EvidenceRecord
Builds an evidence record objectReturns the XML evidence record elementThis method returns a type of the evidence record supported by the current validatorReturns the root element of the validating documentboolean
isSupported
(DSSDocument dssDocument) Checks if the document is supported by the current validatorMethods inherited from class eu.europa.esig.dss.evidencerecord.common.validation.DefaultEvidenceRecordAnalyzer
fromDocument, getDetachedEvidenceRecords, getEvidenceRecord, getOriginalDocuments
Methods inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
addReference, appendCounterSignatures, appendExternalEvidenceRecords, appendExternalEvidenceRecords, buildDetachedEvidenceRecords, buildDetachedTimestamps, buildEvidenceRecord, buildSignatures, coversSignature, createValidationContext, getAllEvidenceRecords, getAllSignatures, getDetachedTimestamps, getDocument, getEvidenceRecord, getEvidenceRecordScopes, getOriginalDocuments, getSignatureById, getSignaturePolicyProvider, getSignaturePolicyValidatorLoader, getSignatures, getTimestampedReferences, getTimestampReaders, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, instantiateValidationDataContainer, isTimestampCoveredByEvidenceRecord, prepareDetachedEvidenceRecordValidationContext, prepareDetachedTimestampValidationContext, prepareSignatureForVerification, prepareSignatureValidationContext, prepareValidationContext, processSignaturesValidation, setCertificateVerifier, setContainerContents, setDetachedContents, setDetachedEvidenceRecordDocuments, setDetachedEvidenceRecords, setManifestFile, setSignaturePolicyProvider, setSigningCertificateSource, setTokenIdentifierProvider, setValidationContextExecutor, setValidationTime, validate, validateContext, validateSignaturePolicy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.spi.validation.analyzer.DocumentAnalyzer
getDetachedTimestamps, getDocument, getOriginalDocuments, getSignatures, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, setCertificateVerifier, setContainerContents, setDetachedContents, setDetachedEvidenceRecordDocuments, setManifestFile, setSignaturePolicyProvider, setSigningCertificateSource, setTokenIdentifierProvider, setValidationContextExecutor, setValidationTime, validate
-
Constructor Details
-
XMLEvidenceRecordAnalyzer
The default constructor for XMLEvidenceRecordValidator.- Parameters:
document
- The instance ofDSSDocument
to validate
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzer
Checks if the document is supported by the current validator- Parameters:
dssDocument
-DSSDocument
to check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
getEvidenceRecordElement
-
getRootElement
-
buildEvidenceRecord
Description copied from class:DefaultEvidenceRecordAnalyzer
Builds an evidence record object- Specified by:
buildEvidenceRecord
in classDefaultEvidenceRecordAnalyzer
- Returns:
EvidenceRecord
-
getEvidenceRecordType
Description copied from interface:EvidenceRecordAnalyzer
This method returns a type of the evidence record supported by the current validator- Returns:
EvidenceRecordTypeEnum
-