Package ru.yandex.clickhouse.util.ssl
Class NonValidatingTrustManager
- java.lang.Object
-
- ru.yandex.clickhouse.util.ssl.NonValidatingTrustManager
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class NonValidatingTrustManager extends Object implements X509TrustManager
An insecureTrustManager, that don't validate the certificate.
-
-
Constructor Summary
Constructors Constructor Description NonValidatingTrustManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] certs, String authType)voidcheckServerTrusted(X509Certificate[] certs, String authType)X509Certificate[]getAcceptedIssuers()
-
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- Specified by:
getAcceptedIssuersin interfaceX509TrustManager
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certs, String authType)
- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
-