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
FieldsModifier and TypeFieldDescriptionprotected DSSDocumentThe data used to for message-imprint computation of a timestamp token -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with null timestamped data document -
Method Summary
Modifier and TypeMethodDescriptionfindTimestampScope(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampTokenprotected List<SignatureScope>Returns a timestampedSignatureScopefor the given documentvoidsetTimestampedData(DSSDocument timestampedData) Sets the timestamped dataMethods inherited from class eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
getDefaultDigestAlgorithm, getDigest, getDigest, getTokenIdentifierProvider, isASiCEArchive, isASiCSArchive, setDefaultDigestAlgorithm, setTokenIdentifierProviderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:TimestampScopeFinderThis method returns a timestamp scope for the givenTimestampToken- Specified by:
findTimestampScopein interfaceTimestampScopeFinder- Parameters:
timestampToken-TimestampTokento get signature scope for- Returns:
- a list of
SignatureScopes
-
getTimestampSignatureScopeForDocument
Returns a timestampedSignatureScopefor the given document- Parameters:
document-DSSDocumentto get a signature scope for- Returns:
- a list of
SignatureScopes
-