Class ASiCEWithCAdESTimestampValidator
java.lang.Object
eu.europa.esig.dss.validation.SignedDocumentValidator
eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
eu.europa.esig.dss.asic.cades.validation.ASiCEWithCAdESTimestampValidator
- All Implemented Interfaces:
DocumentValidator
,ProcessExecutorProvider<DocumentProcessExecutor>
public class ASiCEWithCAdESTimestampValidator extends DetachedTimestampValidator
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
timestampToken, timestampType
Fields inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
certificateVerifier, containerContents, detachedContents, document, manifestFiles, processExecutor, providedSigningCertificateToken, signatureScopeFinder, skipValidationContextExecution
-
Constructor Summary
Constructors Constructor Description ASiCEWithCAdESTimestampValidator(DSSDocument timestamp, TimestampType type, ManifestFile validatedManifestFile, List<DSSDocument> originalDocuments)
Default constructor for ASiCE CAdES timestamp validator -
Method Summary
Modifier and Type Method Description ManifestFile
getCoveredManifest()
Returns the coveredManifestFile
TimestampToken
getTimestamp()
Returns a single TimestampToken to be validatedprotected List<SignatureScope>
getTimestampSignatureScope()
Returns a list of timestamp signature scopes (timestamped data)Methods inherited from class eu.europa.esig.dss.validation.timestamp.DetachedTimestampValidator
assertConfigurationValid, getDetachedTimestamps, getOriginalDocuments, getOriginalDocuments, getTimestampedData, isSupported, setTimestampedData, setValidationLevel
Methods inherited from class eu.europa.esig.dss.validation.SignedDocumentValidator
defineSigningCertificate, findSignatureScopes, fromDocument, getAllSignatures, getDefaultDigestAlgorithm, getDefaultProcessExecutor, getDiagnosticDataBuilderConfiguration, getSignaturePolicyProvider, getSignatures, getValidationTime, mergeCertificateSource, mergeCRLSources, mergeOCSPSources, prepareCertificatesAndTimestamps, prepareCertificateVerifier, prepareDetachedTimestampValidationContext, prepareDiagnosticDataBuilder, prepareSignatureValidationContext, processSignaturesValidation, processValidationPolicy, provideProcessExecutorInstance, setCertificateVerifier, setContainerContents, setDetachedContents, setEnableEtsiValidationReport, setIncludeSemantics, setLocale, setManifestFiles, setProcessExecutor, setSignaturePolicyProvider, setSignedScopeFinderDefaultDigestAlgorithm, setSkipValidationContextExecution, setTokenExtractionStategy, setValidationTime, validateContext, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument, validateDocument
-
Constructor Details
-
ASiCEWithCAdESTimestampValidator
public ASiCEWithCAdESTimestampValidator(DSSDocument timestamp, TimestampType type, ManifestFile validatedManifestFile, List<DSSDocument> originalDocuments)Default constructor for ASiCE CAdES timestamp validator- Parameters:
timestamp
-DSSDocument
the timestamp document filetype
-TimestampType
type of the timestampvalidatedManifestFile
- a validatedManifestFile
originalDocuments
- a list of originalDSSDocument
s present into the container
-
-
Method Details
-
getCoveredManifest
Returns the coveredManifestFile
- Returns:
ManifestFile
-
getTimestamp
Description copied from class:DetachedTimestampValidator
Returns a single TimestampToken to be validated- Overrides:
getTimestamp
in classDetachedTimestampValidator
- Returns:
TimestampToken
-
getTimestampSignatureScope
Description copied from class:DetachedTimestampValidator
Returns a list of timestamp signature scopes (timestamped data)- Overrides:
getTimestampSignatureScope
in classDetachedTimestampValidator
- Returns:
- a list of
SignatureScope
s
-