Interface TimestampScopeFinder
- All Known Implementing Classes:
DetachedTimestampScopeFinder,EncapsulatedTimestampScopeFinder
public interface TimestampScopeFinder
This interface is used to find a signature scope for a timestamp
-
Method Summary
Modifier and TypeMethodDescriptionfindTimestampScope(TimestampToken timestampToken) This method returns a timestamp scope for the givenTimestampTokenvoidsetDefaultDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScopedigest computation
-
Method Details
-
findTimestampScope
This method returns a timestamp scope for the givenTimestampToken- Parameters:
timestampToken-TimestampTokento get signature scope for- Returns:
- a list of
SignatureScopes
-
setDefaultDigestAlgorithm
void setDefaultDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScopedigest computation- Parameters:
digestAlgorithm-DigestAlgorithmto use
-