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
GeneralSecurityExceptionpublic void checkClientTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
CertificateExceptionpublic void checkClientTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
checkClientTrusted in class X509ExtendedTrustManagerCertificateExceptionpublic void checkClientTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
checkClientTrusted in class X509ExtendedTrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String authType) throws CertificateException
CertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
checkServerTrusted in class X509ExtendedTrustManagerCertificateExceptionpublic void checkServerTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine sslEngine) throws CertificateException
checkServerTrusted in class X509ExtendedTrustManagerCertificateExceptionpublic X509Certificate[] getAcceptedIssuers()
Copyright © 2020. All rights reserved.