public static class InternalSSLSocketFactory.LenientTrustManager extends X509ExtendedTrustManager implements X509TrustManager
Constructor and Description |
---|
LenientTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] xcs,
String string) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s,
Socket socket) |
void |
checkClientTrusted(X509Certificate[] x509Certificates,
String s,
SSLEngine sslEngine) |
void |
checkServerTrusted(X509Certificate[] xcs,
String string) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s,
Socket socket) |
void |
checkServerTrusted(X509Certificate[] x509Certificates,
String s,
SSLEngine sslEngine) |
X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(X509Certificate[] xcs, String string) throws CertificateException
checkClientTrusted
in interface X509TrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException
checkServerTrusted
in interface X509TrustManager
CertificateException
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
checkClientTrusted
in class X509ExtendedTrustManager
CertificateException
public void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException
checkServerTrusted
in class X509ExtendedTrustManager
CertificateException
Copyright © 2022 Apache Software Foundation. All rights reserved.