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