com.sun.xml.ws.security.opt.impl.incoming
Class KeySelectorImpl
java.lang.Object
javax.xml.crypto.KeySelector
com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl
public class KeySelectorImpl
- extends javax.xml.crypto.KeySelector
- Author:
- Ashutosh.Shahi@Sun.Com
|
Method Summary |
static javax.xml.crypto.KeySelector |
getInstance()
|
static Key |
resolveDirectReference(javax.xml.crypto.XMLCryptoContext context,
String valueType,
String uri,
javax.xml.crypto.KeySelector.Purpose purpose)
|
static Key |
resolveIssuerSerial(javax.xml.crypto.XMLCryptoContext context,
String issuerName,
BigInteger serialNumber,
String strId,
javax.xml.crypto.KeySelector.Purpose purpose)
|
static Key |
resolveKeyIdentifier(javax.xml.crypto.XMLCryptoContext xc,
String valueType,
String referenceValue,
String strId,
javax.xml.crypto.KeySelector.Purpose purpose)
|
protected static SecurityHeaderElement |
resolveToken(String uri,
javax.xml.crypto.XMLCryptoContext context)
|
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)
|
| 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
resolveIssuerSerial
public static Key resolveIssuerSerial(javax.xml.crypto.XMLCryptoContext context,
String issuerName,
BigInteger serialNumber,
String strId,
javax.xml.crypto.KeySelector.Purpose purpose)
throws javax.xml.crypto.KeySelectorException
- Throws:
javax.xml.crypto.KeySelectorException
resolveDirectReference
public static Key resolveDirectReference(javax.xml.crypto.XMLCryptoContext context,
String valueType,
String uri,
javax.xml.crypto.KeySelector.Purpose purpose)
throws javax.xml.crypto.KeySelectorException
- Throws:
javax.xml.crypto.KeySelectorException
resolveKeyIdentifier
public static Key resolveKeyIdentifier(javax.xml.crypto.XMLCryptoContext xc,
String valueType,
String referenceValue,
String strId,
javax.xml.crypto.KeySelector.Purpose purpose)
throws javax.xml.crypto.KeySelectorException
- Throws:
javax.xml.crypto.KeySelectorException
resolveToken
protected static SecurityHeaderElement resolveToken(String uri,
javax.xml.crypto.XMLCryptoContext context)
throws javax.xml.crypto.URIReferenceException,
XWSSecurityException
- Throws:
javax.xml.crypto.URIReferenceException
XWSSecurityException
Copyright © 2005-2011 Oracle Corporation. All Rights Reserved.