Class ASiCContainerWithXAdESValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.asic.common.validation.AbstractASiCContainerValidator
eu.europa.esig.dss.asic.xades.validation.ASiCContainerWithXAdESValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
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.AbstractASiCContainerValidator
asicContent, signatureValidators, timestampValidators
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
certificateVerifier, containerContents, detachedContents, document, manifestFile, processExecutor, signatureScopeFinder, signingCertificateSource, skipValidationContextExecution
-
Constructor Summary
ConstructorDescriptionASiCContainerWithXAdESValidator
(ASiCContent asicContent) The constructor fromASiCContent
ASiCContainerWithXAdESValidator
(DSSDocument asicContainer) The default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected AbstractASiCContainerExtractor
Returns 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<DocumentValidator>
Returns a list of validators for signature documents embedded into the containerboolean
isSupported
(ASiCContent asicContent) Checks if theASiCContent
is 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.asic.common.validation.AbstractASiCContainerValidator
attachExternalTimestamps, buildSignatures, createDiagnosticDataBuilder, getAllDocuments, getAllManifestDocuments, getAllSignatures, getArchiveDocuments, getArchiveManifestDocuments, getContainerInfo, getContainerType, getManifestDocuments, getManifestFiles, getMimeTypeDocument, getSignatureDocuments, getSignedDocuments, getSignedDocumentsASiCS, getTimestampDocuments, getUnsupportedDocuments, initializeDiagnosticDataBuilder
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
addReference, appendCounterSignatures, assertConfigurationValid, buildDetachedTimestamps, findSignatureScopes, findTimestampScopes, fromDocument, getDefaultDigestAlgorithm, getDefaultProcessExecutor, getDetachedTimestamps, getDiagnosticData, getOriginalDocuments, getSignatureById, getSignaturePolicyProvider, getSignaturePolicyValidatorLoader, getSignatures, getTimestampedReferences, getTimestampScopeFinder, getTokenIdentifierProvider, getValidationData, getValidationData, getValidationTime, instantiateValidationDataContainer, prepareDetachedTimestampValidationContext, prepareDiagnosticDataBuilder, prepareSignatureForVerification, prepareSignatureScopeFinder, prepareSignatureValidationContext, prepareTimestampScopeFinder, prepareValidationContext, processSignaturesValidation, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDetachedContents, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFile, setProcessExecutor, setSignaturePolicyProvider, setSigningCertificateSource, setSkipValidationContextExecution, setTokenExtractionStrategy, setTokenIdentifierProvider, setValidationLevel, setValidationTime, validateContext, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
ASiCContainerWithXAdESValidator
The default constructor- Parameters:
asicContainer
-DSSDocument
to be validated
-
ASiCContainerWithXAdESValidator
The constructor fromASiCContent
- Parameters:
asicContent
-ASiCContent
to be validated
-
-
Method Details
-
isSupported
Description copied from class:SignedDocumentValidator
Checks if the document is supported by the current validator- Specified by:
isSupported
in classSignedDocumentValidator
- Parameters:
dssDocument
-DSSDocument
to check- Returns:
- TRUE if the document is supported, FALSE otherwise
-
isSupported
Description copied from class:AbstractASiCContainerValidator
Checks if theASiCContent
is supported by the current validator- Specified by:
isSupported
in classAbstractASiCContainerValidator
- Parameters:
asicContent
-ASiCContent
to check- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
getContainerExtractor
Description copied from class:AbstractASiCContainerValidator
Returns the relevant container extractor- Specified by:
getContainerExtractor
in classAbstractASiCContainerValidator
- Returns:
AbstractASiCContainerExtractor
-
getSignatureValidators
Description copied from class:AbstractASiCContainerValidator
Returns a list of validators for signature documents embedded into the container- Specified by:
getSignatureValidators
in classAbstractASiCContainerValidator
- Returns:
- a list of
DocumentValidator
s
-
getManifestFilesDescriptions
Description copied from class:AbstractASiCContainerValidator
Returns a list of parser ManifestFiles- Specified by:
getManifestFilesDescriptions
in classAbstractASiCContainerValidator
- Returns:
- a list of
ManifestFile
s
-
getOriginalDocuments
Description copied from interface:DocumentValidator
This method returns the signed document(s) without their signature(s)- Parameters:
advancedSignature
-AdvancedSignature
to find signer documents for- Returns:
- list of
DSSDocument
s
-