程序包 org.anyline.net
类 SimpleX509TrustManager
java.lang.Object
org.anyline.net.SimpleX509TrustManager
- 所有已实现的接口:
TrustManager,X509TrustManager
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明voidcheckClientTrusted(X509Certificate[] certificates, String authType) voidcheckServerTrusted(X509Certificate[] certificates, String authType)
-
构造器详细资料
-
SimpleX509TrustManager
Constructor for EasyX509TrustManager.- 参数:
keystore- 密钥文件- 抛出:
NoSuchAlgorithmException- NoSuchAlgorithmExceptionKeyStoreException- KeyStoreException
-
-
方法详细资料
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException -
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException -
getAcceptedIssuers
- 指定者:
getAcceptedIssuers在接口中X509TrustManager- 另请参阅:
-