public class NoVerificationTrustManager extends X509ExtendedTrustManager
X509TrustManager
which trusts the given certificates without verifying them.Constructor and Description |
---|
NoVerificationTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String authType,
Socket socket) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String authType,
SSLEngine engine) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String authType,
Socket socket) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String authType,
SSLEngine engine) |
X509Certificate[] |
getAcceptedIssuers() |
public NoVerificationTrustManager()
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, Socket socket) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkClientTrusted(X509Certificate[] x509Certificates, String authType, SSLEngine engine) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
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 engine) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkClientTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String s) throws CertificateException
CertificateException
public X509Certificate[] getAcceptedIssuers()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.