Package org.openhab.core.io.net.http
Class TrustAllTrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
org.openhab.core.io.net.http.TrustAllTrustManager
- All Implemented Interfaces:
 TrustManager,X509TrustManager
The 
TrustAllTrustManager is a "trust all" implementation of X509ExtendedTrustManager.- Author:
 - Matthew Bowman - Initial contribution
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType) voidcheckClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable Socket socket) voidcheckClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable SSLEngine engine) voidcheckServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType) voidcheckServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable Socket socket) voidcheckServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable SSLEngine engine) static TrustAllTrustManager 
- 
Method Details
- 
getInstance
 - 
checkClientTrusted
public void checkClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType) throws CertificateException - Throws:
 CertificateException
 - 
checkServerTrusted
public void checkServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType) throws CertificateException - Throws:
 CertificateException
 - 
getAcceptedIssuers
 - 
checkClientTrusted
public void checkClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable Socket socket) throws CertificateException - Specified by:
 checkClientTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 - 
checkClientTrusted
public void checkClientTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable SSLEngine engine) throws CertificateException - Specified by:
 checkClientTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 - 
checkServerTrusted
public void checkServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable Socket socket) throws CertificateException - Specified by:
 checkServerTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 - 
checkServerTrusted
public void checkServerTrusted(X509Certificate @Nullable [] chain, @Nullable String authType, @Nullable SSLEngine engine) throws CertificateException - Specified by:
 checkServerTrustedin classX509ExtendedTrustManager- Throws:
 CertificateException
 
 -