Interface SignatureScopeFinder<T extends AdvancedSignature>
- Type Parameters:
T
-AdvancedSignature
implementation
- All Known Implementing Classes:
ASiCWithCAdESSignatureScopeFinder
,CAdESSignatureScopeFinder
,JAdESSignatureScopeFinder
,PAdESSignatureScopeFinder
,XAdESSignatureScopeFinder
public interface SignatureScopeFinder<T extends AdvancedSignature>
Builds a list of
SignatureScope
s from an AdvancedSignature
-
Method Summary
Modifier and TypeMethodDescriptionfindSignatureScope
(T advancedSignature) Returns a list ofSignatureScope
s from a signaturevoid
setDefaultDigestAlgorithm
(DigestAlgorithm digestAlgorithm) Sets the default DigestAlgorithm to use forSignatureScope
digest computationvoid
setTokenIdentifierProvider
(TokenIdentifierProvider tokenIdentifierProvider) This method sets theTokenIdentifierProvider
to be used within teh SignatureScope finder
-
Method Details
-
findSignatureScope
Returns a list ofSignatureScope
s from a signature- Parameters:
advancedSignature
-AdvancedSignature
to get signatureScopes for- Returns:
- a list of
SignatureScope
s
-
setDefaultDigestAlgorithm
Sets the default DigestAlgorithm to use forSignatureScope
digest computation- Parameters:
digestAlgorithm
-DigestAlgorithm
to use
-
setTokenIdentifierProvider
This method sets theTokenIdentifierProvider
to be used within teh SignatureScope finder- Parameters:
tokenIdentifierProvider
-TokenIdentifierProvider
to use
-