TrustManagerFactory that trusts all X.509 certificates without any verification.Note
Never use this TrustManagerFactory in production.
It is purely for testing purposes, and thus it is very insecure.
| Modifier and Type | Field and Description |
|---|---|
| public static final TrustManagerFactory | |
| private static final InternalLogger | |
| private static final TrustManager |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| protected TrustManager[] | engineGetTrustManagers()
Implements abstract io. |
| protected void | engineInit(KeyStore keyStore)
Implements abstract io. |
| protected void | engineInit(ManagerFactoryParameters managerFactoryParameters)
Implements abstract io. |
| INSTANCE | back to summary |
|---|---|
| public static final TrustManagerFactory INSTANCE | |
| logger | back to summary |
|---|---|
| private static final InternalLogger logger | |
| tm | back to summary |
|---|---|
| private static final TrustManager tm | |
| InsecureTrustManagerFactory | back to summary |
|---|---|
| private InsecureTrustManagerFactory() | |
| engineGetTrustManagers | back to summary |
|---|---|
| protected TrustManager[] engineGetTrustManagers() Implements abstract io. Doc from io. Returns one trust manager for each type of trust material.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(KeyStore keyStore) throws Exception Implements abstract io. Doc from io. Initializes this factory with a source of certificate authorities and related trust material.
| |
| engineInit | back to summary |
|---|---|
| protected void engineInit(ManagerFactoryParameters managerFactoryParameters) throws Exception Implements abstract io. Doc from io. Initializes this factory with a source of provider-specific key material.
| |