public class TrustAllManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
Constructor and Description |
---|
TrustAllManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType) |
void |
checkServerTrusted(java.security.cert.X509Certificate[] certs,
java.lang.String authType) |
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
public void checkServerTrusted(java.security.cert.X509Certificate[] certs, java.lang.String authType) throws java.security.cert.CertificateException
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
public void checkClientTrusted(java.security.cert.X509Certificate[] certs, java.lang.String authType) throws java.security.cert.CertificateException
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
java.security.cert.CertificateException