Class ASiCContainerWithXAdESAnalyzer
java.lang.Object
eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerAnalyzer
eu.europa.esig.dss.asic.xades.validation.ASiCContainerWithXAdESAnalyzer
- All Implemented Interfaces:
DocumentAnalyzer
This class is an implementation to validate ASiC containers with XAdES signature(s)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerAnalyzer
asicContent, evidenceRecordAnalyzers, signatureValidators, timestampAnalyzersFields inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
certificateVerifier, containerContents, detachedContents, detachedEvidenceRecordDocuments, document, manifestFile, signingCertificateSource -
Constructor Summary
ConstructorsConstructorDescriptionASiCContainerWithXAdESAnalyzer(ASiCContent asicContent) The constructor fromASiCContentASiCContainerWithXAdESAnalyzer(DSSDocument asicContainer) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected DefaultASiCContainerExtractorReturns the relevant container extractorprotected List<ManifestFile> Returns a list of parser ManifestFilesgetOriginalDocuments(AdvancedSignature advancedSignature) This method returns the signed document(s) without their signature(s)protected List<DocumentAnalyzer> Returns a list of validators for signature documents embedded into the containerbooleanisSupported(ASiCContent asicContent) Checks if theASiCContentis supported by the current validatorbooleanisSupported(DSSDocument dssDocument) Checks if the document is supported by the current validatorMethods inherited from class eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerAnalyzer
addReference, assertEvidenceRecordDocumentExtensionMatch, attachExternalEvidenceRecords, attachExternalTimestamps, buildDetachedEvidenceRecords, buildSignatures, coversSignature, getAllDocuments, getAllManifestDocuments, getAllSignatures, getArchiveDocuments, getArchiveManifestDocuments, getContainerInfo, getContainerType, getEvidenceRecordAnalyzers, getEvidenceRecordDocuments, getEvidenceRecordManifestDocuments, getManifestDocuments, getManifestFiles, getMimeTypeDocument, getSignatureDocuments, getSignedDocuments, getSignedDocumentsASiCS, getTimestampDocuments, getUnsupportedDocuments, getValidatedManifestFileMethods inherited from class eu.europa.esig.dss.spi.validation.analyzer.DefaultDocumentAnalyzer
appendCounterSignatures, appendExternalEvidenceRecords, appendExternalEvidenceRecords, buildDetachedTimestamps, buildEvidenceRecord, createValidationContext, fromDocument, getAllEvidenceRecords, getDetachedEvidenceRecords, 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
-
Constructor Details
-
ASiCContainerWithXAdESAnalyzer
The default constructor- Parameters:
asicContainer-DSSDocumentto be validated
-
ASiCContainerWithXAdESAnalyzer
The constructor fromASiCContent- Parameters:
asicContent-ASiCContentto be validated
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerChecks if the document is supported by the current validator- Parameters:
dssDocument-DSSDocumentto check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
isSupported
Description copied from class:AbstractASiCContainerAnalyzerChecks if theASiCContentis supported by the current validator- Specified by:
isSupportedin classAbstractASiCContainerAnalyzer- Parameters:
asicContent-ASiCContentto check- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
getContainerExtractor
Description copied from class:AbstractASiCContainerAnalyzerReturns the relevant container extractor- Specified by:
getContainerExtractorin classAbstractASiCContainerAnalyzer- Returns:
DefaultASiCContainerExtractor
-
getSignatureAnalyzers
Description copied from class:AbstractASiCContainerAnalyzerReturns a list of validators for signature documents embedded into the container- Specified by:
getSignatureAnalyzersin classAbstractASiCContainerAnalyzer- Returns:
- a list of
DocumentValidators
-
getManifestFilesDescriptions
Description copied from class:AbstractASiCContainerAnalyzerReturns a list of parser ManifestFiles- Specified by:
getManifestFilesDescriptionsin classAbstractASiCContainerAnalyzer- Returns:
- a list of
ManifestFiles
-
getOriginalDocuments
Description copied from interface:DocumentAnalyzerThis method returns the signed document(s) without their signature(s)- Parameters:
advancedSignature-AdvancedSignatureto find signer documents for- Returns:
- list of
DSSDocuments
-