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 SignatureScopes from an AdvancedSignature
  • Method Details

    • findSignatureScope

      List<SignatureScope> findSignatureScope(T advancedSignature)
      Returns a list of SignatureScopes from a signature
      Parameters:
      advancedSignature - AdvancedSignature to get signatureScopes for
      Returns:
      a list of SignatureScopes
    • setDefaultDigestAlgorithm

      void setDefaultDigestAlgorithm(DigestAlgorithm digestAlgorithm)
      Sets the default DigestAlgorithm to use for SignatureScope digest computation
      Parameters:
      digestAlgorithm - DigestAlgorithm to use
    • setTokenIdentifierProvider

      void setTokenIdentifierProvider(TokenIdentifierProvider tokenIdentifierProvider)
      This method sets the TokenIdentifierProvider to be used within teh SignatureScope finder
      Parameters:
      tokenIdentifierProvider - TokenIdentifierProvider to use