public static class SSLClient.DefaultX509TrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
构造器和说明 |
---|
DefaultX509TrustManager() |
限定符和类型 | 方法和说明 |
---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] x509Certificates,
java.lang.String s) |
void |
checkServerTrusted(java.security.cert.X509Certificate[] x509Certificates,
java.lang.String s) |
java.security.cert.X509Certificate[] |
getAcceptedIssuers() |
public void checkClientTrusted(java.security.cert.X509Certificate[] x509Certificates, java.lang.String s) throws java.security.cert.CertificateException
checkClientTrusted
在接口中 javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
public void checkServerTrusted(java.security.cert.X509Certificate[] x509Certificates, java.lang.String s) throws java.security.cert.CertificateException
checkServerTrusted
在接口中 javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
在接口中 javax.net.ssl.X509TrustManager