Class ASN1EvidenceRecordAnalyzer
java.lang.Object
eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
eu.europa.esig.dss.evidencerecord.common.validation.DefaultEvidenceRecordAnalyzer
eu.europa.esig.dss.evidencerecord.asn1.validation.ASN1EvidenceRecordAnalyzer
- All Implemented Interfaces:
DocumentAnalyzer
,EvidenceRecordAnalyzer
Class for validation of an ASN.1 Evidence Record (RFC 4998)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
certificateVerifier, containerContents, detachedContents, detachedEvidenceRecordDocuments, document, manifestFile, signingCertificateSource
-
Constructor Summary
ConstructorDescriptionASN1EvidenceRecordAnalyzer
(DSSDocument document) The default constructor for ASN1EvidenceRecordValidator. -
Method Summary
Modifier and TypeMethodDescriptionprotected EvidenceRecord
Builds an evidence record objectThis method returns a type of the evidence record supported by the current validatorboolean
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
-
ASN1EvidenceRecordAnalyzer
The default constructor for ASN1EvidenceRecordValidator.- 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
-
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
-