public class SSLSocketFactoryEx
extends org.apache.http.conn.ssl.SSLSocketFactory
Constructor and Description |
---|
SSLSocketFactoryEx(javax.net.ssl.SSLContext context)
Constructor using the super constructor available for android.
|
Modifier and Type | Method and Description |
---|---|
java.net.Socket |
connectSocket(java.net.Socket socket,
java.net.InetSocketAddress remoteAddress,
java.net.InetSocketAddress localAddress,
org.apache.http.params.HttpParams params) |
java.net.Socket |
createLayeredSocket(java.net.Socket socket,
java.lang.String host,
int port,
org.apache.http.params.HttpParams params) |
java.net.Socket |
createSocket(org.apache.http.params.HttpParams params)
Creates socket.
|
public SSLSocketFactoryEx(javax.net.ssl.SSLContext context) throws java.security.UnrecoverableKeyException, java.security.KeyStoreException, java.security.KeyManagementException, java.security.NoSuchAlgorithmException
context
- the context to usejava.security.UnrecoverableKeyException
java.security.KeyStoreException
java.security.KeyManagementException
java.security.NoSuchAlgorithmException
public java.net.Socket createSocket(org.apache.http.params.HttpParams params) throws java.io.IOException
createSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
createSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
params
- java.io.IOException
public java.net.Socket createLayeredSocket(java.net.Socket socket, java.lang.String host, int port, org.apache.http.params.HttpParams params) throws java.io.IOException, java.net.UnknownHostException
createLayeredSocket
in interface org.apache.http.conn.scheme.SchemeLayeredSocketFactory
createLayeredSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
java.io.IOException
java.net.UnknownHostException
public java.net.Socket connectSocket(java.net.Socket socket, java.net.InetSocketAddress remoteAddress, java.net.InetSocketAddress localAddress, org.apache.http.params.HttpParams params) throws java.io.IOException, java.net.UnknownHostException, org.apache.http.conn.ConnectTimeoutException
connectSocket
in interface org.apache.http.conn.scheme.SchemeSocketFactory
connectSocket
in class org.apache.http.conn.ssl.SSLSocketFactory
java.io.IOException
java.net.UnknownHostException
org.apache.http.conn.ConnectTimeoutException
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.