Package com.gpudb.util.ssl
Class X509TrustManagerBypass
- java.lang.Object
-
- javax.net.ssl.X509ExtendedTrustManager
-
- com.gpudb.util.ssl.X509TrustManagerBypass
-
- All Implemented Interfaces:
TrustManager,X509TrustManager
public class X509TrustManagerBypass extends X509ExtendedTrustManager
-
-
Constructor Summary
Constructors Constructor Description X509TrustManagerBypass()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(X509Certificate[] x509Certificates, String authType)voidcheckClientTrusted(X509Certificate[] x509Certificates, String authType, Socket socket)voidcheckClientTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine)voidcheckServerTrusted(X509Certificate[] x509Certificates, String authType)voidcheckServerTrusted(X509Certificate[] x509Certificates, String authType, Socket socket)voidcheckServerTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine)X509Certificate[]getAcceptedIssuers()static voidinstall()
-
-
-
Method Detail
-
install
public static void install() throws GeneralSecurityException- Throws:
GeneralSecurityException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
- Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkClientTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
- Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
- Specified by:
checkServerTrustedin classX509ExtendedTrustManager- Throws:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
-
-