类 X509TrustManagerImpl
- java.lang.Object
-
- io.itit.itf.okhttp.ssl.X509TrustManagerImpl
-
- 所有已实现的接口:
TrustManager,X509TrustManager
public class X509TrustManagerImpl extends Object implements X509TrustManager
- 作者:
- icecooly
-
-
构造器概要
构造器 构造器 说明 X509TrustManagerImpl()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcheckClientTrusted(X509Certificate[] chain, String authType)voidcheckServerTrusted(X509Certificate[] chain, String authType)X509Certificate[]getAcceptedIssuers()
-
-
-
方法详细资料
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException
- 指定者:
checkClientTrusted在接口中X509TrustManager- 抛出:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException
- 指定者:
checkServerTrusted在接口中X509TrustManager- 抛出:
CertificateException
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
- 指定者:
getAcceptedIssuers在接口中X509TrustManager
-
-