Class DetachedTimestampScopeFinder
java.lang.Object
eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.validation.scope.DetachedTimestampScopeFinder
- All Implemented Interfaces:
TimestampScopeFinder
- Direct Known Subclasses:
ASiCWithCAdESTimestampScopeFinder
public class DetachedTimestampScopeFinder
extends AbstractSignatureScopeFinder
implements TimestampScopeFinder
This class finds a timestamp scope for a detached timestamp
-
Field Summary
Modifier and TypeFieldDescriptionprotected DSSDocument
The data used to for message-imprint computation of a timestamp token -
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null timestamped data document -
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
setTimestampedData
(DSSDocument timestampedData) Sets the timestamped dataMethods 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
-
Field Details
-
timestampedData
The data used to for message-imprint computation of a timestamp token
-
-
Constructor Details
-
DetachedTimestampScopeFinder
public DetachedTimestampScopeFinder()Default constructor instantiating object with null timestamped data document
-
-
Method Details
-
setTimestampedData
Sets the timestamped data- Parameters:
timestampedData
-DSSDocument
-
findTimestampScope
Description copied from interface:TimestampScopeFinder
This method returns a timestamp scope for the givenTimestampToken
- Specified by:
findTimestampScope
in interfaceTimestampScopeFinder
- Parameters:
timestampToken
-TimestampToken
to get signature scope for- Returns:
- a list of
SignatureScope
s
-
getTimestampSignatureScopeForDocument
Returns a timestampedSignatureScope
for the given document- Parameters:
document
-DSSDocument
to get a signature scope for- Returns:
- a list of
SignatureScope
s
-