com.sun.xml.ws.security.opt.impl.incoming
Class KeySelectorImpl

java.lang.Object
  extended by javax.xml.crypto.KeySelector
      extended by com.sun.xml.ws.security.opt.impl.incoming.KeySelectorImpl

public class KeySelectorImpl
extends KeySelector

Author:
Ashutosh.Shahi@Sun.Com

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.xml.crypto.KeySelector
KeySelector.Purpose
 
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 javax.xml.crypto.KeySelector
singletonKeySelector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.