org.apache.hc.core5.ssl.SSLContextBuilder loadTrustMaterial
methods.
| Modifier and Type | Field and Description |
|---|---|
| public static final TrustAllStrategy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | isTrusted(final X509Certificate[]
the peer certificate chain chain, final String the authentication type based on the client certificate authType)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final TrustAllStrategy INSTANCE | |
| TrustAllStrategy | back to summary |
|---|---|
| public TrustAllStrategy() | |
| isTrusted | back to summary |
|---|---|
| public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException Implements org. Doc from org. Determines whether the certificate chain can be trusted without consulting the trust manager configured in the actual SSL context. This method can be used to override the standard JSSE certificate verification process.
Please note that, if this method returns
| |