Class TrustAllX509ExtendedTrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
com.inductiveautomation.ignition.common.util.TrustAllX509ExtendedTrustManager
- All Implemented Interfaces:
- TrustManager,- X509TrustManager
Simple implementation of 
X509ExtendedTrustManager that trusts all certificates.
 Generally not recommended to use in production code unless you know what you're doing.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckClientTrusted(X509Certificate[] chain, String authType, Socket socket) voidcheckClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) voidcheckServerTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] chain, String authType, Socket socket) voidcheckServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) 
- 
Constructor Details- 
TrustAllX509ExtendedTrustManagerpublic TrustAllX509ExtendedTrustManager()
 
- 
- 
Method Details- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
- checkClientTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] chain, String authType, Socket socket) throws CertificateException - Specified by:
- checkServerTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException - Specified by:
- checkClientTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] chain, String authType, SSLEngine engine) throws CertificateException - Specified by:
- checkServerTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Throws:
- CertificateException
 
- 
getAcceptedIssuers
 
-