org.jeewx.api.core.common
类 MyX509TrustManager
- java.lang.Object
-
- org.jeewx.api.core.common.MyX509TrustManager
-
- 所有已实现的接口:
- javax.net.ssl.TrustManager, javax.net.ssl.X509TrustManager
public class MyX509TrustManager extends java.lang.Object implements javax.net.ssl.X509TrustManager
-
-
构造器概要
构造器 构造器和说明 MyX509TrustManager()
-
方法概要
方法 限定符和类型 方法和说明 void
checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
void
checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType)
java.security.cert.X509Certificate[]
getAcceptedIssuers()
-
-
-
方法详细资料
-
checkClientTrusted
public void checkClientTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
- 指定者:
checkClientTrusted
在接口中javax.net.ssl.X509TrustManager
- 抛出:
java.security.cert.CertificateException
-
checkServerTrusted
public void checkServerTrusted(java.security.cert.X509Certificate[] chain, java.lang.String authType) throws java.security.cert.CertificateException
- 指定者:
checkServerTrusted
在接口中javax.net.ssl.X509TrustManager
- 抛出:
java.security.cert.CertificateException
-
getAcceptedIssuers
public java.security.cert.X509Certificate[] getAcceptedIssuers()
- 指定者:
getAcceptedIssuers
在接口中javax.net.ssl.X509TrustManager
-
-