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| 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 List<XMLObject> |
getExtensions(RoleDescriptor roleDescriptor,
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<String> whitelistBlacklistPredicate)
Resolve and populate the signing credential and signature method algorithm URI on the
supplied parameters instance.
|
protected String |
resolveReferenceDigestMethod(net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria,
com.google.common.base.Predicate<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<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 String resolveReferenceDigestMethod(@Nonnull net.shibboleth.utilities.java.support.resolver.CriteriaSet criteria, @Nonnull com.google.common.base.Predicate<String> whitelistBlacklistPredicate)
resolveReferenceDigestMethod in class BasicSignatureSigningParametersResolvercriteria - the input criteria being evaluatedwhitelistBlacklistPredicate - the whitelist/blacklist predicate to use@Nullable protected List<XMLObject> getExtensions(@Nonnull RoleDescriptor roleDescriptor, @Nonnull QName extensionName)
roleDescriptor - the role descriptor instance to examineextensionName - the extension name for which to searchCopyright © 2021. All rights reserved.