Package org.opensaml.xmlsec.keyinfo.impl
Interface KeyInfoProvider
- All Known Implementing Classes:
AbstractKeyInfoProvider,AgreementMethodKeyInfoProvider,DEREncodedKeyValueProvider,DSAKeyValueProvider,ECKeyValueProvider,InlineX509DataProvider,KeyInfoReferenceProvider,RSAKeyValueProvider
public interface KeyInfoProvider
Interface for providers used in conjunction with a
KeyInfoCredentialResolver which
support resolving Credentials based on a child element of KeyInfo.-
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluate whether the given provider should attempt to handle resolving a credential from the specified KeyInfo child.process(KeyInfoCredentialResolver resolver, XMLObject keyInfoChild, CriteriaSet criteriaSet, KeyInfoResolutionContext kiContext) Process a specified KeyInfo child (XMLobject) and attempt to resolve a credential from it.
-
Method Details
-
handles
Evaluate whether the given provider should attempt to handle resolving a credential from the specified KeyInfo child. An evaluation oftruedoes not guarantee that a credential can or will be extracted form the particular KeyInfo child, only that processing should be attempted.- Parameters:
keyInfoChild- the KeyInfo child object to consider- Returns:
- true if the provider should attempt to resolve credentials, false otherwise