|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xml.security.keys.keyresolver.KeyResolverSpi
This class is abstract class for a child KeyInfo Elemnet. If you want the your KeyResolver, at firstly you must extand this class, and register as following in config.xml
<KeyResolver URI="http://www.w3.org/2000/09/xmldsig#KeyValue" JAVACLASS="MyPackage.MyKeyValueImpl"//gt;
| Field Summary | |
protected java.util.Map |
_properties
Field _properties |
| Constructor Summary | |
KeyResolverSpi()
|
|
| Method Summary | |
abstract boolean |
engineCanResolve(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
This method helps the ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action. |
java.lang.String |
engineGetProperty(java.lang.String key)
Method engineGetProperty |
java.lang.String[] |
engineGetPropertyKeys()
Method engineGetPropertyKeys |
abstract java.security.PublicKey |
engineResolvePublicKey(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
Method engineResolvePublicKey |
abstract javax.crypto.SecretKey |
engineResolveSecretKey(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
Method engineResolveSecretKey |
abstract java.security.cert.X509Certificate |
engineResolveX509Certificate(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
Method engineResolveCertificate |
void |
engineSetProperty(java.lang.String key,
java.lang.String value)
Method engineSetProperty |
boolean |
understandsProperty(java.lang.String propertyToTest)
Method understandsProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.Map _properties
| Constructor Detail |
public KeyResolverSpi()
| Method Detail |
public abstract boolean engineCanResolve(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
ResourceResolver to decide whether a
ResourceResolverSpi is able to perform the requested action.
element - BaseURI - storage -
public abstract java.security.PublicKey engineResolvePublicKey(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
throws KeyResolverException
element - BaseURI - storage -
KeyResolverException
public abstract java.security.cert.X509Certificate engineResolveX509Certificate(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
throws KeyResolverException
element - BaseURI - storage -
KeyResolverException
public abstract javax.crypto.SecretKey engineResolveSecretKey(org.w3c.dom.Element element,
java.lang.String BaseURI,
StorageResolver storage)
throws KeyResolverException
element - BaseURI - storage -
KeyResolverException
public void engineSetProperty(java.lang.String key,
java.lang.String value)
key - value - public java.lang.String engineGetProperty(java.lang.String key)
key - public java.lang.String[] engineGetPropertyKeys()
public boolean understandsProperty(java.lang.String propertyToTest)
propertyToTest -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||