Class EncapsulatedTimestampScopeFinder
java.lang.Object
eu.europa.esig.dss.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.validation.scope.EncapsulatedTimestampScopeFinder
- All Implemented Interfaces:
TimestampScopeFinder
- Direct Known Subclasses:
XAdESTimestampScopeFinder
public class EncapsulatedTimestampScopeFinder
extends AbstractSignatureScopeFinder
implements TimestampScopeFinder
This class is used to find a signature scope for an embedded timestamp
from a collection of
SignatureScope
candidates, extracted from a signature-
Field Summary
Modifier and TypeFieldDescriptionprotected AdvancedSignature
AdvancedSignature
embedding the timestamp -
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null signature -
Method Summary
Modifier and TypeMethodDescriptionprotected List<SignatureScope>
filterCoveredSignatureScopes
(TimestampToken timestampToken) This method filters and returns coveredSignatureScope
s by the current timestampfindTimestampScope
(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampToken
void
setSignature
(AdvancedSignature signature) This method sets an encapsulatingAdvancedSignature
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
-
Field Details
-
signature
AdvancedSignature
embedding the timestamp
-
-
Constructor Details
-
EncapsulatedTimestampScopeFinder
public EncapsulatedTimestampScopeFinder()Default constructor instantiating object with null signature
-
-
Method Details
-
setSignature
This method sets an encapsulatingAdvancedSignature
- Parameters:
signature
-AdvancedSignature
-
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
-
filterCoveredSignatureScopes
This method filters and returns coveredSignatureScope
s by the current timestamp- Parameters:
timestampToken
-TimestampToken
- Returns:
- a list of
SignatureScope
s
-