FileDocCategorySizeDatePackage
KeyManagerFactorySpi.javaAPI DocAndroid 1.5 API2772Wed May 06 22:41:06 BST 2009javax.net.ssl

KeyManagerFactorySpi

public abstract class KeyManagerFactorySpi extends Object
The Service Provider Interface (SPI) for the {@code KeyManagerFactory} class.
since
Android 1.0

Fields Summary
Constructors Summary
public KeyManagerFactorySpi()
Creates a new {@code KeyManagerFactorySpi} instance.

since
Android 1.0

    
Methods Summary
protected abstract javax.net.ssl.KeyManager[]engineGetKeyManagers()
Returns a list of key managers, one instance for each type of key in the key store.

return
a list of key managers.
since
Android 1.0

protected abstract voidengineInit(java.security.KeyStore ks, char[] password)
Initializes this instance with the specified key store and password.

param
ks the key store or {@code null} to use the default key store.
param
password the key store password.
throws
KeyStoreException if initializing this instance fails.
throws
NoSuchAlgorithmException if a required algorithm is not available.
throws
UnrecoverableKeyException if a key cannot be recovered.
since
Android 1.0

protected abstract voidengineInit(javax.net.ssl.ManagerFactoryParameters spec)
Initializes this instance with the specified factory parameters.

param
spec the factory parameters.
throws
InvalidAlgorithmParameterException if an error occurs.
since
Android 1.0