public class SAMLMetadataSignatureSigningParametersResolver extends BasicSignatureSigningParametersResolver
BasicSignatureSigningParametersResolver which also supports input of SAML metadata,
specifically the SigningMethod and DigestMethod extension elements.
In addition to the Criterion inputs documented in
BasicSignatureSigningParametersResolver, the following inputs are also supported:
RoleDescriptorCriterion - optional| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Logger.
|
| Constructor and Description |
|---|
SAMLMetadataSignatureSigningParametersResolver() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
credentialSupportsSigningMethod(Credential credential,
SigningMethod signingMethod)
Evaluate whether the specified credential is supported for use with the specified
SigningMethod. |
protected java.util.List<XMLObject> |
getExtensions(RoleDescriptor roleDescriptor,
javax.xml.namespace.QName extensionName)
Get the extensions indicated by the passed QName.
|
protected void |
resolveAndPopulateCredentialAndSignatureAlgorithm(SignatureSigningParameters params,
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
com.google.common.base.Predicate<java.lang.String> whitelistBlacklistPredicate)
Resolve and populate the signing credential and signature method algorithm URI on the
supplied parameters instance.
|
protected java.lang.String |
resolveReferenceDigestMethod(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
com.google.common.base.Predicate<java.lang.String> whitelistBlacklistPredicate)
Resolve and return the digest method algorithm URI to use, including application of whitelist/blacklist policy.
|
credentialSupportsAlgorithm, getAlgorithmRegistry, getAlgorithmRuntimeSupportedPredicate, getEffectiveSignatureAlgorithms, getEffectiveSigningCredentials, getWhitelistBlacklistPredicate, logResult, resolve, resolveCanonicalizationAlgorithm, resolveHMACOutputLength, resolveKeyInfoGenerator, resolveSingle, setAlgorithmRegistry, validatelookupKeyInfoGenerator, resolveAndPopulateWhiteAndBlacklists, resolveEffectiveBlacklist, resolveEffectiveWhitelist, resolveWhitelistBlacklistPrecedence, resolveWhitelistBlacklistPredicatepublic SAMLMetadataSignatureSigningParametersResolver()
protected void resolveAndPopulateCredentialAndSignatureAlgorithm(@Nonnull
SignatureSigningParameters params,
@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull
com.google.common.base.Predicate<java.lang.String> whitelistBlacklistPredicate)
resolveAndPopulateCredentialAndSignatureAlgorithm in class BasicSignatureSigningParametersResolverparams - the parameters instance being populatedcriteria - the input criteria being evaluatedwhitelistBlacklistPredicate - the whitelist/blacklist predicate with which to evaluate the
candidate signing method algorithm URIsprotected boolean credentialSupportsSigningMethod(@Nonnull
Credential credential,
@Nonnull @NotEmpty
SigningMethod signingMethod)
SigningMethod.credential - the credential to evaluatesigningMethod - the signing method to evaluate@Nullable
protected java.lang.String resolveReferenceDigestMethod(@Nonnull
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
@Nonnull
com.google.common.base.Predicate<java.lang.String> whitelistBlacklistPredicate)
resolveReferenceDigestMethod in class BasicSignatureSigningParametersResolvercriteria - the input criteria being evaluatedwhitelistBlacklistPredicate - the whitelist/blacklist predicate to use@Nullable protected java.util.List<XMLObject> getExtensions(@Nonnull RoleDescriptor roleDescriptor, @Nonnull javax.xml.namespace.QName extensionName)
roleDescriptor - the role descriptor instance to examineextensionName - the extension name for which to search