KeyManagerFactory.
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final FastThreadLocal | CURRENT_SPI
|
| private static final Provider |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract KeyManager[] | |
| protected abstract void | engineInit(KeyStore keyStore, char[] var2)
Initializes this factory with a source of certificate authorities and related key material. |
| protected abstract void | engineInit(ManagerFactoryParameters managerFactoryParameters)
Initializes this factory with a source of provider-specific key material. |
| CURRENT_SPI | back to summary |
|---|---|
| private static final FastThreadLocal<SimpleKeyManagerFactory.
| |
| PROVIDER | back to summary |
|---|---|
| private static final Provider PROVIDER | |
| SimpleKeyManagerFactory | back to summary |
|---|---|
| protected SimpleKeyManagerFactory() Creates a new instance. | |
| SimpleKeyManagerFactory | back to summary |
|---|---|
| protected SimpleKeyManagerFactory(String name) Creates a new instance.
| |
| engineGetKeyManagers | back to summary |
|---|---|
| protected abstract KeyManager[] engineGetKeyManagers() Returns one key manager for each type of key material. | |
| engineInit | back to summary |
|---|---|
| protected abstract void engineInit(KeyStore keyStore, char[] var2) throws Exception Initializes this factory with a source of certificate authorities and related key material. | |
| engineInit | back to summary |
|---|---|
| protected abstract void engineInit(ManagerFactoryParameters managerFactoryParameters) throws Exception Initializes this factory with a source of provider-specific key material. | |
| Modifier and Type | Field and Description |
|---|---|
| private volatile KeyManager[] | |
| private SimpleKeyManagerFactory |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected KeyManager[] | engineGetKeyManagers()
Implements abstract javax. |
| protected void | engineInit(KeyStore
the key store or null keyStore, char[] the password for recovering keys pwd)Implements abstract javax. |
| protected void | engineInit(ManagerFactoryParameters
an implementation of a provider-specific parameter
specification managerFactoryParameters)Implements abstract javax. |
| pack-priv void | |
| private static void |
| keyManagers | back to summary |
|---|---|
| private volatile KeyManager[] keyManagers | |
| parent | back to summary |
|---|---|
| private SimpleKeyManagerFactory parent | |
| SimpleKeyManagerFactorySpi | back to summary |
|---|---|
| private SimpleKeyManagerFactorySpi() | |
| engineGetKeyManagers | back to summary |
|---|---|
| protected KeyManager[] engineGetKeyManagers() Implements abstract javax. Doc from javax. Returns one key manager for each type of key material.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(KeyStore keyStore, char[] pwd) throws KeyStoreException Implements abstract javax. Doc from javax. Initializes this factory with a source of key material.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws InvalidAlgorithmParameterException Implements abstract javax. Doc from javax. Initializes this factory with a source of key material.
In some cases, initialization parameters other than a keystore
and password may be needed by a provider. Users of that
particular provider are expected to pass an implementation of
the appropriate
| |
| init | back to summary |
|---|---|
| pack-priv void init(SimpleKeyManagerFactory parent) | |
| wrapIfNeeded | back to summary |
|---|---|
| private static void wrapIfNeeded(KeyManager[] keyManagers) | |