public class X509TrustManagerBypass extends X509ExtendedTrustManager
Constructor and Description |
---|
X509TrustManagerBypass() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String authType) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String authType,
Socket socket) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String authType,
SSLEngine sslEngine) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String authType) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String authType,
Socket socket) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String authType,
SSLEngine sslEngine) |
X509Certificate[] |
getAcceptedIssuers() |
static void |
install() |
public static void install() throws GeneralSecurityException
GeneralSecurityException
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
CertificateException
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
Copyright © 2020. All rights reserved.