TrustManagerFactory.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv 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 TrustManager[] | |
| protected abstract void | engineInit(KeyStore keyStore)
Initializes this factory with a source of certificate authorities and related trust 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<SimpleTrustManagerFactory.
| |
| PROVIDER | back to summary |
|---|---|
| private static final Provider PROVIDER | |
| SimpleTrustManagerFactory | back to summary |
|---|---|
| protected SimpleTrustManagerFactory() Creates a new instance. | |
| SimpleTrustManagerFactory | back to summary |
|---|---|
| protected SimpleTrustManagerFactory(String name) Creates a new instance.
| |
| engineGetTrustManagers | back to summary |
|---|---|
| protected abstract TrustManager[] engineGetTrustManagers() Returns one trust manager for each type of trust material. | |
| engineInit | back to summary |
|---|---|
| protected abstract void engineInit(KeyStore keyStore) throws Exception Initializes this factory with a source of certificate authorities and related trust 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 SimpleTrustManagerFactory | |
| private volatile TrustManager[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected TrustManager[] | engineGetTrustManagers()
Implements abstract javax. |
| protected void | engineInit(KeyStore
the key store or null keyStore)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 |
| parent | back to summary |
|---|---|
| private SimpleTrustManagerFactory parent | |
| trustManagers | back to summary |
|---|---|
| private volatile TrustManager[] trustManagers | |
| SimpleTrustManagerFactorySpi | back to summary |
|---|---|
| pack-priv SimpleTrustManagerFactorySpi() | |
| engineGetTrustManagers | back to summary |
|---|---|
| protected TrustManager[] engineGetTrustManagers() Implements abstract javax. Doc from javax. Returns one trust manager for each type of trust material.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(KeyStore keyStore) throws KeyStoreException Implements abstract javax. Doc from javax. Initializes this factory with a source of certificate authorities and related trust 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 provider-specific key material.
In some cases, initialization parameters other than a keystore
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(SimpleTrustManagerFactory parent) | |
| wrapIfNeeded | back to summary |
|---|---|
private static void wrapIfNeeded(TrustManager[] trustManagers)
| |