com.sun.xml.wss.impl.dsig
Class KeySelectorImpl
java.lang.Object
javax.xml.crypto.KeySelector
com.sun.xml.wss.impl.dsig.KeySelectorImpl
public class KeySelectorImpl
- extends KeySelector
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static KeySelector getInstance()
- Returns:
select
public KeySelectorResult select(KeyInfo keyInfo,
KeySelector.Purpose purpose,
AlgorithmMethod method,
XMLCryptoContext context)
throws KeySelectorException
- Specified by:
select in class KeySelector
- Parameters:
keyInfo - purpose - method - context -
- Returns:
-
- Throws:
KeySelectorException
resolveToken
protected static SecurityToken resolveToken(String uri,
XMLCryptoContext context)
throws URIReferenceException,
XWSSecurityException
- BinaryTokens if found would be cached into
FilterProcessingContext.
- Parameters:
uri - context -
- Returns:
-
- Throws:
URIReferenceException
XWSSecurityException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.