Package com.sun.xml.wss.impl.dsig
Class KeySelectorImpl
java.lang.Object
javax.xml.crypto.KeySelector
com.sun.xml.wss.impl.dsig.KeySelectorImpl
Implementation of JSR 105 KeySelector interface.
Supports resolving Key information from
SecurityTokenReference elements, KeyName,
X509Data and KeyValue.
- Author:
- K.Venugopal@sun.com,XWS-Security team
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.xml.crypto.KeySelector
KeySelector.Purpose -
Method Summary
Modifier and TypeMethodDescriptionstatic KeySelectorprotected static SecurityTokenresolveToken(String uri, XMLCryptoContext context) BinaryTokens if found would be cached intoFilterProcessingContext.select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) Methods inherited from class javax.xml.crypto.KeySelector
singletonKeySelector
-
Method Details
-
getInstance
- Returns:
-
select
public KeySelectorResult select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) throws KeySelectorException - Specified by:
selectin classKeySelector- Parameters:
keyInfo-purpose-method-context-- Returns:
- Throws:
KeySelectorException
-
resolveToken
protected static SecurityToken resolveToken(String uri, XMLCryptoContext context) throws URIReferenceException, com.sun.xml.wss.XWSSecurityException BinaryTokens if found would be cached intoFilterProcessingContext.- Parameters:
uri-context-- Returns:
- Throws:
URIReferenceExceptioncom.sun.xml.wss.XWSSecurityException
-