Package org.opensaml.xmlsec
Interface SignatureSigningConfiguration
- All Superinterfaces:
AlgorithmPolicyConfiguration
,WhitelistBlacklistConfiguration
- All Known Implementing Classes:
BasicSignatureSigningConfiguration
The configuration information to use when generating an XML signature.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
WhitelistBlacklistConfiguration.Precedence
-
Method Summary
Modifier and TypeMethodDescriptionGet the manager for named KeyInfoGenerator instances.Get the list of preferred signature algorithm URIs, in preference order.Get a canonicalization algorithm URI suitable for use as a Signature CanonicalizationMethod value.Get the value to be used as the Signature SignatureMethod HMACOutputLength value, used only when signing with an HMAC algorithm.Get a canonicalization algorithm URI suitable for use as a Signature Reference Transform value.Get the list of digest method algorithm URIs suitable for use as a Signature Reference DigestMethod value, in preference order.Get the list of signing credentials to use when signing, in preference order.Methods inherited from interface org.opensaml.xmlsec.AlgorithmPolicyConfiguration
getExcludedAlgorithms, getIncludedAlgorithms, getIncludeExcludePrecedence, isExcludeMerge, isIncludeMerge
Methods inherited from interface org.opensaml.xmlsec.WhitelistBlacklistConfiguration
getBlacklistedAlgorithms, getWhitelistBlacklistPrecedence, getWhitelistedAlgorithms, isBlacklistMerge, isWhitelistMerge
-
Method Details
-
getSigningCredentials
Get the list of signing credentials to use when signing, in preference order.- Returns:
- the list of signing credentials, may be empty
-
getSignatureAlgorithms
Get the list of preferred signature algorithm URIs, in preference order.- Returns:
- the list of algorithm URIs, may be empty
-
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
Get a canonicalization algorithm URI suitable for use as a Signature Reference Transform value.- Returns:
- a digest method algorithm URI
-
getSignatureCanonicalizationAlgorithm
Get a canonicalization algorithm URI suitable for use as a Signature CanonicalizationMethod value.- Returns:
- a canonicalization algorithm URI
-
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
Get the manager for named KeyInfoGenerator instances.- Returns:
- the KeyInfoGenerator manager, or null if none is configured
-