Class ASiCWithCAdESTimestampScopeFinder
java.lang.Object
eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.spi.validation.scope.DetachedTimestampScopeFinder
eu.europa.esig.dss.asic.cades.validation.scope.ASiCWithCAdESTimestampScopeFinder
- All Implemented Interfaces:
TimestampScopeFinder
This class is used to find a timestamp source for a detached timestamp within an ASiC with CAdES container
-
Field Summary
Fields inherited from class eu.europa.esig.dss.spi.validation.scope.DetachedTimestampScopeFinder
timestampedData -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with empty lists of documents -
Method Summary
Modifier and TypeMethodDescriptionfindTimestampScope(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampTokenprotected List<SignatureScope> Returns a timestampedSignatureScopefor the given documentvoidsetArchiveDocuments(List<DSSDocument> archiveDocuments) Sets a list of package.zip archive documentsvoidsetContainerDocuments(List<DSSDocument> containerDocuments) Sets a list of container original documentsMethods inherited from class eu.europa.esig.dss.spi.validation.scope.DetachedTimestampScopeFinder
setTimestampedDataMethods inherited from class eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
createDigestDocument, createInMemoryDocument, isASiCEArchive, isASiCSArchive
-
Constructor Details
-
ASiCWithCAdESTimestampScopeFinder
public ASiCWithCAdESTimestampScopeFinder()Default constructor instantiating object with empty lists of documents
-
-
Method Details
-
setContainerDocuments
Sets a list of container original documents- Parameters:
containerDocuments- a list ofDSSDocuments
-
setArchiveDocuments
Sets a list of package.zip archive documents- Parameters:
archiveDocuments- a list ofDSSDocuments
-
findTimestampScope
Description copied from interface:TimestampScopeFinderThis method returns a timestamp scope for the givenTimestampToken- Specified by:
findTimestampScopein interfaceTimestampScopeFinder- Overrides:
findTimestampScopein classDetachedTimestampScopeFinder- Parameters:
timestampToken-TimestampTokento get signature scope for- Returns:
- a list of
SignatureScopes
-
getTimestampSignatureScopeForDocument
Description copied from class:DetachedTimestampScopeFinderReturns a timestampedSignatureScopefor the given document- Overrides:
getTimestampSignatureScopeForDocumentin classDetachedTimestampScopeFinder- Parameters:
document-DSSDocumentto get a signature scope for- Returns:
- a list of
SignatureScopes
-