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, timestampTypeFields 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 ManifestFilegetCoveredManifest()Returns the coveredManifestFileTimestampTokengetTimestamp()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, setValidationLevelMethods 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-DSSDocumentthe timestamp document filetype-TimestampTypetype of the timestampvalidatedManifestFile- a validatedManifestFileoriginalDocuments- a list of originalDSSDocuments present into the container
-
-
Method Details
-
getCoveredManifest
Returns the coveredManifestFile- Returns:
ManifestFile
-
getTimestamp
Description copied from class:DetachedTimestampValidatorReturns a single TimestampToken to be validated- Overrides:
getTimestampin classDetachedTimestampValidator- Returns:
TimestampToken
-
getTimestampSignatureScope
Description copied from class:DetachedTimestampValidatorReturns a list of timestamp signature scopes (timestamped data)- Overrides:
getTimestampSignatureScopein classDetachedTimestampValidator- Returns:
- a list of
SignatureScopes
-