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 KeySelector
- Author:
- Ashutosh.Shahi@Sun.Com
|
Method Summary |
static KeySelector |
getInstance()
|
static Key |
resolveDirectReference(XMLCryptoContext context,
String valueType,
String uri,
KeySelector.Purpose purpose)
|
static Key |
resolveIssuerSerial(XMLCryptoContext context,
String issuerName,
BigInteger serialNumber,
String strId,
KeySelector.Purpose purpose)
|
static Key |
resolveKeyIdentifier(XMLCryptoContext xc,
String valueType,
String referenceValue,
String strId,
KeySelector.Purpose purpose)
|
protected static SecurityHeaderElement |
resolveToken(String uri,
XMLCryptoContext context)
|
KeySelectorResult |
select(KeyInfo keyInfo,
KeySelector.Purpose purpose,
AlgorithmMethod method,
XMLCryptoContext context)
|
| 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
resolveIssuerSerial
public static Key resolveIssuerSerial(XMLCryptoContext context,
String issuerName,
BigInteger serialNumber,
String strId,
KeySelector.Purpose purpose)
throws KeySelectorException
- Throws:
KeySelectorException
resolveDirectReference
public static Key resolveDirectReference(XMLCryptoContext context,
String valueType,
String uri,
KeySelector.Purpose purpose)
throws KeySelectorException
- Throws:
KeySelectorException
resolveKeyIdentifier
public static Key resolveKeyIdentifier(XMLCryptoContext xc,
String valueType,
String referenceValue,
String strId,
KeySelector.Purpose purpose)
throws KeySelectorException
- Throws:
KeySelectorException
resolveToken
protected static SecurityHeaderElement resolveToken(String uri,
XMLCryptoContext context)
throws URIReferenceException,
XWSSecurityException
- Throws:
URIReferenceException
XWSSecurityException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.