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:
- [email protected],XWS-Security team
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.xml.crypto.KeySelector
KeySelector.Purpose
-
Method Summary
Modifier and TypeMethodDescriptionstatic KeySelector
protected static SecurityToken
resolveToken
(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
-
select
public KeySelectorResult select(KeyInfo keyInfo, KeySelector.Purpose purpose, AlgorithmMethod method, XMLCryptoContext context) throws KeySelectorException - Specified by:
select
in classKeySelector
- Throws:
KeySelectorException
-
resolveToken
protected static SecurityToken resolveToken(String uri, XMLCryptoContext context) throws URIReferenceException, XWSSecurityException BinaryTokens if found would be cached intoFilterProcessingContext
.
-