Class EncapsulatedTimestampScopeFinder
java.lang.Object
eu.europa.esig.dss.spi.validation.scope.AbstractSignatureScopeFinder
eu.europa.esig.dss.spi.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.spi.validation.scope.AbstractSignatureScopeFinder
createDigestDocument, createInMemoryDocument, isASiCEArchive, isASiCSArchive
-
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
-