public class RSAKeyValueProvider extends AbstractKeyInfoProvider
KeyInfoProvider which supports RSAKeyValue.| Constructor and Description |
|---|
RSAKeyValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected RSAKeyValue |
getRSAKeyValue(org.opensaml.core.xml.XMLObject xmlObject)
Get the RSAKeyValue from the passed XML object.
|
boolean |
handles(org.opensaml.core.xml.XMLObject keyInfoChild)
Evaluate whether the given provider should attempt to handle resolving a credential
from the specified KeyInfo child.
|
Collection<org.opensaml.security.credential.Credential> |
process(KeyInfoCredentialResolver resolver,
org.opensaml.core.xml.XMLObject keyInfoChild,
net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet,
KeyInfoResolutionContext kiContext)
Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.
|
buildCredentialContext, extractKeyValueprivate final Logger log
public boolean handles(@Nonnull org.opensaml.core.xml.XMLObject keyInfoChild)
true does not guarantee that a credential can or will be
extracted form the particular KeyInfo child, only that processing should be attempted.keyInfoChild - the KeyInfo child object to consider@Nullable public Collection<org.opensaml.security.credential.Credential> process(@Nonnull KeyInfoCredentialResolver resolver, @Nonnull org.opensaml.core.xml.XMLObject keyInfoChild, @Nullable net.shibboleth.utilities.java.support.resolver.CriteriaSet criteriaSet, @Nonnull KeyInfoResolutionContext kiContext) throws org.opensaml.security.SecurityException
resolver - reference to a resolver which is calling the providerkeyInfoChild - the KeyInfo child being processedcriteriaSet - the credential criteria the credential must satisfykiContext - the resolution context, used for sharing state amongst resolvers and providersorg.opensaml.security.SecurityException - if there is an error during credential resolution.
Note: failure to resolve a credential is not an error.@Nullable protected RSAKeyValue getRSAKeyValue(@Nonnull org.opensaml.core.xml.XMLObject xmlObject)
xmlObject - an XML object, presumably either a KeyValue or an RSAKeyValueCopyright © 1999–2015. All rights reserved.