|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.net.ssl.KeyManagerFactorySpi
public abstract class KeyManagerFactorySpi
The Service Provider Interface (SPI) for key manager factories.
Constructor Summary | |
---|---|
KeyManagerFactorySpi()
|
Method Summary | |
---|---|
protected abstract KeyManager[] |
engineGetKeyManagers()
Engine method for retrieving this factory's key managers. |
protected abstract void |
engineInit(KeyStore store,
char[] passwd)
Engine method for initializing this factory with a key store and a password for private keys. |
protected abstract void |
engineInit(ManagerFactoryParameters params)
Engine method for initializing this factory with some algorithm-specific parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyManagerFactorySpi()
Method Detail |
---|
protected abstract KeyManager[] engineGetKeyManagers()
protected abstract void engineInit(ManagerFactoryParameters params) throws InvalidAlgorithmParameterException
params
- The factory parameters.
InvalidAlgorithmParameterException
- If the supplied parameters
are inappropriate for this instance.protected abstract void engineInit(KeyStore store, char[] passwd) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
null
,
in which case some default parameters (possibly derived from system
properties) should be used.
store
- The key store.passwd
- The private key password.
KeyStoreException
- If the key store cannot be accessed.
NoSuchAlgorithmException
- If some of the data from the key
store cannot be retrieved.
UnrecoverableKeyException
- If a private key cannot be retrieved,
likely from a wrong password.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |