AndBase开发框架  1.6
 全部  命名空间 文件 函数 变量 枚举值 
Public 成员函数 | Private 属性 | 所有成员列表
com.ab.http.EasyX509TrustManager类 参考
类 com.ab.http.EasyX509TrustManager 继承关系图:

Public 成员函数

 EasyX509TrustManager (KeyStore keystore) throws NoSuchAlgorithmException, KeyStoreException
 
void checkClientTrusted (X509Certificate[] certificates, String authType) throws CertificateException
 
void checkServerTrusted (X509Certificate[] certificates, String authType) throws CertificateException
 
X509Certificate[] getAcceptedIssuers ()
 

Private 属性

X509TrustManager standardTrustManager = null
 

详细描述

© 2012 amsoft.cn 名称:EasyX509TrustManager.java 描述:SSL自签名的实现类

作者
还如一梦中
版本
v1.0
日期
:2013-11-13 上午9:00:52

构造及析构函数说明

com.ab.http.EasyX509TrustManager.EasyX509TrustManager ( KeyStore  keystore) throws NoSuchAlgorithmException, KeyStoreException
inline

Constructor for EasyX509TrustManager.

成员函数说明

void com.ab.http.EasyX509TrustManager.checkClientTrusted ( X509Certificate[]  certificates,
String  authType 
) throws CertificateException
inline

执行客户端的安全策略

void com.ab.http.EasyX509TrustManager.checkServerTrusted ( X509Certificate[]  certificates,
String  authType 
) throws CertificateException
inline

执行服务器的安全策略 检查签名、信任链中证书的有效日期和CRLs 清除因证书过期出现的问题

X509Certificate [] com.ab.http.EasyX509TrustManager.getAcceptedIssuers ( )
inline
参见
javax.net.ssl.X509TrustManager::getAcceptedIssuers()

类成员变量说明

X509TrustManager com.ab.http.EasyX509TrustManager.standardTrustManager = null
private

该类的文档由以下文件生成: