Interface SignatureSigningConfiguration

All Superinterfaces:
AlgorithmPolicyConfiguration, WhitelistBlacklistConfiguration
All Known Implementing Classes:
BasicSignatureSigningConfiguration

public interface SignatureSigningConfiguration extends WhitelistBlacklistConfiguration
The configuration information to use when generating an XML signature.
  • Method Details

    • getSigningCredentials

      @Nonnull @NonnullElements @Unmodifiable @NotLive List<Credential> getSigningCredentials()
      Get the list of signing credentials to use when signing, in preference order.
      Returns:
      the list of signing credentials, may be empty
    • getSignatureAlgorithms

      @Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getSignatureAlgorithms()
      Get the list of preferred signature algorithm URIs, in preference order.
      Returns:
      the list of algorithm URIs, may be empty
    • getSignatureReferenceDigestMethods

      @Nonnull @NonnullElements @Unmodifiable @NotLive List<String> getSignatureReferenceDigestMethods()
      Get the list of digest method algorithm URIs suitable for use as a Signature Reference DigestMethod value, in preference order.
      Returns:
      a digest method algorithm URI
    • getSignatureReferenceCanonicalizationAlgorithm

      @Nullable String getSignatureReferenceCanonicalizationAlgorithm()
      Get a canonicalization algorithm URI suitable for use as a Signature Reference Transform value.
      Returns:
      a digest method algorithm URI
    • getSignatureCanonicalizationAlgorithm

      @Nullable String getSignatureCanonicalizationAlgorithm()
      Get a canonicalization algorithm URI suitable for use as a Signature CanonicalizationMethod value.
      Returns:
      a canonicalization algorithm URI
    • getSignatureHMACOutputLength

      @Nullable Integer getSignatureHMACOutputLength()
      Get the value to be used as the Signature SignatureMethod HMACOutputLength value, used only when signing with an HMAC algorithm. This value is optional when using HMAC.
      Returns:
      the configured HMAC output length value
    • getKeyInfoGeneratorManager

      @Nullable NamedKeyInfoGeneratorManager getKeyInfoGeneratorManager()
      Get the manager for named KeyInfoGenerator instances.
      Returns:
      the KeyInfoGenerator manager, or null if none is configured