org.apache.xml.security.keys.keyresolver.implementations
Class X509SKIResolver

java.lang.Object
  extended by org.apache.xml.security.keys.keyresolver.KeyResolverSpi
      extended by org.apache.xml.security.keys.keyresolver.implementations.X509SKIResolver

public class X509SKIResolver
extends KeyResolverSpi


Field Summary
 
Fields inherited from class org.apache.xml.security.keys.keyresolver.KeyResolverSpi
globalResolver, properties, secureValidation
 
Constructor Summary
X509SKIResolver()
           
 
Method Summary
 PublicKey engineLookupAndResolvePublicKey(Element element, String baseURI, StorageResolver storage)
          Method engineResolvePublicKey
 SecretKey engineLookupAndResolveSecretKey(Element element, String baseURI, StorageResolver storage)
          Method engineResolveSecretKey
 X509Certificate engineLookupResolveX509Certificate(Element element, String baseURI, StorageResolver storage)
          Method engineResolveX509Certificate
 
Methods inherited from class org.apache.xml.security.keys.keyresolver.KeyResolverSpi
engineCanResolve, engineGetProperty, engineLookupAndResolvePrivateKey, engineResolvePublicKey, engineResolveSecretKey, engineResolveX509Certificate, engineSetProperty, setGlobalResolver, setSecureValidation, understandsProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509SKIResolver

public X509SKIResolver()
Method Detail

engineLookupAndResolvePublicKey

public PublicKey engineLookupAndResolvePublicKey(Element element,
                                                 String baseURI,
                                                 StorageResolver storage)
                                          throws KeyResolverException
Method engineResolvePublicKey

Overrides:
engineLookupAndResolvePublicKey in class KeyResolverSpi
Parameters:
element -
baseURI -
storage -
Returns:
null if no PublicKey could be obtained
Throws:
KeyResolverException

engineLookupResolveX509Certificate

public X509Certificate engineLookupResolveX509Certificate(Element element,
                                                          String baseURI,
                                                          StorageResolver storage)
                                                   throws KeyResolverException
Method engineResolveX509Certificate

Overrides:
engineLookupResolveX509Certificate in class KeyResolverSpi
Parameters:
element -
baseURI -
storage -
Returns:
resolved X509Certificate key from the registered from the elements
Throws:
KeyResolverException

engineLookupAndResolveSecretKey

public SecretKey engineLookupAndResolveSecretKey(Element element,
                                                 String baseURI,
                                                 StorageResolver storage)
Method engineResolveSecretKey

Overrides:
engineLookupAndResolveSecretKey in class KeyResolverSpi
Parameters:
element -
baseURI -
storage -
Returns:
resolved SecretKey key from the registered from the elements


Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.