Class TrustAllX509ExtendedTrustManager
- java.lang.Object
 - 
- javax.net.ssl.X509ExtendedTrustManager
 - 
- com.inductiveautomation.ignition.common.util.TrustAllX509ExtendedTrustManager
 
 
 
- 
- All Implemented Interfaces:
 javax.net.ssl.TrustManager,javax.net.ssl.X509TrustManager
public class TrustAllX509ExtendedTrustManager extends javax.net.ssl.X509ExtendedTrustManagerSimple implementation ofX509ExtendedTrustManagerthat trusts all certificates. Generally not recommended to use in production code unless you know what you're doing. 
- 
- 
Constructor Summary
Constructors Constructor Description TrustAllX509ExtendedTrustManager() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)voidcheckClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)voidcheckClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)voidcheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)voidcheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket)voidcheckServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine)java.security.cert.X509Certificate[]getAcceptedIssuers() 
 - 
 
- 
- 
Method Detail
- 
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket) throws java.security.cert.CertificateException- Specified by:
 checkClientTrustedin classjavax.net.ssl.X509ExtendedTrustManager- Throws:
 java.security.cert.CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, java.net.Socket socket) throws java.security.cert.CertificateException- Specified by:
 checkServerTrustedin classjavax.net.ssl.X509ExtendedTrustManager- Throws:
 java.security.cert.CertificateException
 
- 
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine) throws java.security.cert.CertificateException- Specified by:
 checkClientTrustedin classjavax.net.ssl.X509ExtendedTrustManager- Throws:
 java.security.cert.CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType, javax.net.ssl.SSLEngine engine) throws java.security.cert.CertificateException- Specified by:
 checkServerTrustedin classjavax.net.ssl.X509ExtendedTrustManager- Throws:
 java.security.cert.CertificateException
 
- 
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException- Throws:
 java.security.cert.CertificateException
 
- 
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException- Throws:
 java.security.cert.CertificateException
 
- 
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
 
 - 
 
 -