| AndBase开发框架 1.6

- 首页
- 相关页面
- 命名空间
- 类
- 文件

- 类列表
- 类索引
- 类继承关系
- 类成员

全部 类 命名空间 文件 函数 变量 枚举值 页
Public 成员函数 | Private 成员函数 | 静态 Private 成员函数 | Private 属性 | 所有成员列表
com.ab.http.AuthSSLProtocolSocketFactory类 参考
类 com.ab.http.AuthSSLProtocolSocketFactory 继承关系图:

## Public 成员函数
| AuthSSLProtocolSocketFactory (final URL keystoreUrl, final String keystorePassword, final URL truststoreUrl, final String truststorePassword)
Socket | createSocket (final String host, final int port, final InetAddress localAddress, final int localPort, final HttpConnectionParams params) throws IOException, UnknownHostException, ConnectTimeoutException
Socket | createSocket (String host, int port, InetAddress clientHost, int clientPort) throws IOException, UnknownHostException
Socket | createSocket (String host, int port) throws IOException, UnknownHostException
Socket | createSocket (Socket socket, String host, int port, boolean autoClose) throws IOException, UnknownHostException
Socket | connectSocket (Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params) throws IOException, UnknownHostException, ConnectTimeoutException
Socket | createSocket () throws IOException
boolean | isSecure (Socket arg0) throws IllegalArgumentException

## Private 成员函数
SSLContext | createSSLContext ()
SSLContext | getSSLContext ()

## 静态 Private 成员函数
static KeyStore | createKeyStore (final URL url, final String password) throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
static KeyManager[] | createKeyManagers (final KeyStore keystore, final String password) throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
static TrustManager[] | createTrustManagers (final KeyStore keystore) throws KeyStoreException, NoSuchAlgorithmException

## Private 属性
URL | keystoreUrl = null
String | keystorePassword = null
URL | truststoreUrl = null
String | truststorePassword = null
SSLContext | sslcontext = null

## 构造及析构函数说明

com.ab.http.AuthSSLProtocolSocketFactory.AuthSSLProtocolSocketFactory | ( | final URL | keystoreUrl,
|  | final String | keystorePassword,
|  | final URL | truststoreUrl,
|  | final String | truststorePassword
| ) |  |
| inline

## 成员函数说明

Socket com.ab.http.AuthSSLProtocolSocketFactory.connectSocket | ( | Socket | sock,
|  | String | host,
|  | int | port,
|  | InetAddress | localAddress,
|  | int | localPort,
|  | HttpParams | params
| ) |  | throws IOException, UnknownHostException, ConnectTimeoutException
| inline

static KeyManager [] com.ab.http.AuthSSLProtocolSocketFactory.createKeyManagers | ( | final KeyStore | keystore,
|  | final String | password
| ) |  | throws KeyStoreException, NoSuchAlgorithmException, UnrecoverableKeyException
| inline static private

static KeyStore com.ab.http.AuthSSLProtocolSocketFactory.createKeyStore | ( | final URL | url,
|  | final String | password
| ) |  | throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException
| inline static private

Socket com.ab.http.AuthSSLProtocolSocketFactory.createSocket | ( | final String | host,
|  | final int | port,
|  | final InetAddress | localAddress,
|  | final int | localPort,
|  | final HttpConnectionParams | params
| ) |  | throws IOException, UnknownHostException, ConnectTimeoutException
| inline

Socket com.ab.http.AuthSSLProtocolSocketFactory.createSocket | ( | String | host,
|  | int | port,
|  | InetAddress | clientHost,
|  | int | clientPort
| ) |  | throws IOException, UnknownHostException
| inline

Socket com.ab.http.AuthSSLProtocolSocketFactory.createSocket | ( | String | host,
|  | int | port
| ) |  | throws IOException, UnknownHostException
| inline

Socket com.ab.http.AuthSSLProtocolSocketFactory.createSocket | ( | Socket | socket,
|  | String | host,
|  | int | port,
|  | boolean | autoClose
| ) |  | throws IOException, UnknownHostException
| inline

Socket com.ab.http.AuthSSLProtocolSocketFactory.createSocket | ( |  | ) | throws IOException
| inline

SSLContext com.ab.http.AuthSSLProtocolSocketFactory.createSSLContext | ( |  | ) |
| inline private

static TrustManager [] com.ab.http.AuthSSLProtocolSocketFactory.createTrustManagers | ( | final KeyStore | keystore | ) | throws KeyStoreException, NoSuchAlgorithmException
| inline static private

SSLContext com.ab.http.AuthSSLProtocolSocketFactory.getSSLContext | ( |  | ) |
| inline private

boolean com.ab.http.AuthSSLProtocolSocketFactory.isSecure | ( | Socket | arg0 | ) | throws IllegalArgumentException
| inline

## 类成员变量说明

String com.ab.http.AuthSSLProtocolSocketFactory.keystorePassword = null
| private

URL com.ab.http.AuthSSLProtocolSocketFactory.keystoreUrl = null
| private

SSLContext com.ab.http.AuthSSLProtocolSocketFactory.sslcontext = null
| private

String com.ab.http.AuthSSLProtocolSocketFactory.truststorePassword = null
| private

URL com.ab.http.AuthSSLProtocolSocketFactory.truststoreUrl = null
| private

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

- src/com/ab/http/AuthSSLProtocolSocketFactory.java