public class SecretKeyResolver extends KeyResolverSpi
globalResolver, properties, secureValidation| Constructor and Description |
|---|
SecretKeyResolver(KeyStore keyStore,
char[] password)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
engineCanResolve(Element element,
String baseURI,
StorageResolver storage)
This method returns whether the KeyResolverSpi is able to perform the requested action.
|
PrivateKey |
engineLookupAndResolvePrivateKey(Element element,
String baseURI,
StorageResolver storage)
Method engineResolvePrivateKey
|
PublicKey |
engineLookupAndResolvePublicKey(Element element,
String baseURI,
StorageResolver storage)
Method engineLookupAndResolvePublicKey
|
X509Certificate |
engineLookupResolveX509Certificate(Element element,
String baseURI,
StorageResolver storage)
Method engineResolveX509Certificate
|
SecretKey |
engineResolveSecretKey(Element element,
String baseURI,
StorageResolver storage)
Method engineResolveSecretKey
|
engineGetProperty, engineLookupAndResolveSecretKey, engineResolvePublicKey, engineResolveX509Certificate, engineSetProperty, getDocFromBytes, setGlobalResolver, setSecureValidation, understandsPropertypublic SecretKeyResolver(KeyStore keyStore, char[] password)
public boolean engineCanResolve(Element element, String baseURI, StorageResolver storage)
engineCanResolve in class KeyResolverSpielement - baseURI - storage - public PublicKey engineLookupAndResolvePublicKey(Element element, String baseURI, StorageResolver storage) throws KeyResolverException
engineLookupAndResolvePublicKey in class KeyResolverSpielement - baseURI - storage - PublicKey could be obtainedKeyResolverExceptionpublic X509Certificate engineLookupResolveX509Certificate(Element element, String baseURI, StorageResolver storage) throws KeyResolverException
engineLookupResolveX509Certificate in class KeyResolverSpielement - baseURI - storage - KeyResolverExceptionpublic SecretKey engineResolveSecretKey(Element element, String baseURI, StorageResolver storage) throws KeyResolverException
engineResolveSecretKey in class KeyResolverSpielement - baseURI - storage - SecretKey could be obtainedKeyResolverExceptionpublic PrivateKey engineLookupAndResolvePrivateKey(Element element, String baseURI, StorageResolver storage) throws KeyResolverException
engineLookupAndResolvePrivateKey in class KeyResolverSpielement - baseURI - storage - PrivateKey could be obtainedKeyResolverExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.