Class ASiCWithCAdESTimestampScopeFinder
java.lang.Object
eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.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.validation.scope.DetachedTimestampScopeFinder
timestampedData
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with empty lists of documents -
Method Summary
Modifier and TypeMethodDescriptionfindTimestampScope
(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampToken
protected List<SignatureScope>
Returns a timestampedSignatureScope
for the given documentvoid
setArchiveDocuments
(List<DSSDocument> archiveDocuments) Sets a list of package.zip archive documentsvoid
setContainerDocuments
(List<DSSDocument> containerDocuments) Sets a list of container original documentsMethods inherited from class eu.europa.esig.dss.validation.scope.DetachedTimestampScopeFinder
setTimestampedData
Methods inherited from class eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
getDefaultDigestAlgorithm, getDigest, getDigest, getTokenIdentifierProvider, isASiCEArchive, isASiCSArchive, setDefaultDigestAlgorithm, setTokenIdentifierProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.validation.scope.TimestampScopeFinder
setDefaultDigestAlgorithm
-
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 ofDSSDocument
s
-
setArchiveDocuments
Sets a list of package.zip archive documents- Parameters:
archiveDocuments
- a list ofDSSDocument
s
-
findTimestampScope
Description copied from interface:TimestampScopeFinder
This method returns a timestamp scope for the givenTimestampToken
- Specified by:
findTimestampScope
in interfaceTimestampScopeFinder
- Overrides:
findTimestampScope
in classDetachedTimestampScopeFinder
- Parameters:
timestampToken
-TimestampToken
to get signature scope for- Returns:
- a list of
SignatureScope
s
-
getTimestampSignatureScopeForDocument
Description copied from class:DetachedTimestampScopeFinder
Returns a timestampedSignatureScope
for the given document- Overrides:
getTimestampSignatureScopeForDocument
in classDetachedTimestampScopeFinder
- Parameters:
document
-DSSDocument
to get a signature scope for- Returns:
- a list of
SignatureScope
s
-