Interface TimestampScopeFinder
- All Known Implementing Classes:
ASiCWithCAdESTimestampScopeFinder,DetachedTimestampScopeFinder,EncapsulatedTimestampScopeFinder,PAdESTimestampScopeFinder,XAdESTimestampScopeFinder
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(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
Sets the default DigestAlgorithm to use forSignatureScopedigest computation- Parameters:
digestAlgorithm-DigestAlgorithmto use
-