Example usage for org.apache.http.conn.ssl SSLSocketFactory subclass-usage

List of usage examples for org.apache.http.conn.ssl SSLSocketFactory subclass-usage

Introduction

In this page you can find the example usage for org.apache.http.conn.ssl SSLSocketFactory subclass-usage.

Usage

From source file net.java.sip.communicator.service.httputil.SSLSocketFactoryEx.java

/**
 * Wrapper for SSLSocketFactory to use the constructor which is available
 * in android. The certificate validation is handled by the SSLContext
 * which we use to create sockets for this factory.
 *
 * TODO: wrap the SSLSocketFactory to use our own DNS resolution

From source file hu.javaforum.android.soap.ssl.AllTrustSSLSocketFactory.java

/**
 * Factory of the trust all SSL mechanism.
 *
 * Changelog:
 * ANDROIDSOAP-7
 *

From source file ti.modules.titanium.network.TiSocketFactory.java

public class TiSocketFactory extends SSLSocketFactory {

    private SSLContext sslContext = SSLContext.getInstance("TLS");

    public TiSocketFactory(KeyManager[] keyManagers, TrustManager[] trustManagers)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {

From source file org.mobiletrial.license.connect.AdditionalKeyStoresSSLSocketFactory.java

/**
 * Allows you to trust certificates from additional KeyStores in addition to
 * the default KeyStore
 */
public class AdditionalKeyStoresSSLSocketFactory extends SSLSocketFactory {
    protected SSLContext sslContext = SSLContext.getInstance("TLS");

From source file com.kaixin.android.utils.MySSLSocketFactory.java

public class MySSLSocketFactory extends SSLSocketFactory {

    SSLContext sslContext = SSLContext.getInstance("TLS");

    public MySSLSocketFactory(KeyStore truststore)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {

From source file com.lark.http.LarkSSLSocketFactory.java

/**
 *
 *@author YangHaibo
 *
 */
public class LarkSSLSocketFactory extends SSLSocketFactory {

From source file com.androidinahurry.network.utils.FakeSSLSocketFactory.java

public class FakeSSLSocketFactory extends org.apache.http.conn.ssl.SSLSocketFactory {
    private SSLSocketFactory sslFactory = HttpsURLConnection.getDefaultSSLSocketFactory();

    public FakeSSLSocketFactory(KeyStore truststore)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
        super(null);

From source file com.prey.net.EasySSLSocketFactory.java

public class EasySSLSocketFactory extends SSLSocketFactory {
    SSLContext sslContext = SSLContext.getInstance("TLS");

    public EasySSLSocketFactory(KeyStore truststore)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
        super(truststore);

From source file com.dealoka.lib.net.EasySSLSocketFactory.java

public class EasySSLSocketFactory extends SSLSocketFactory {
    SSLContext sslContext = SSLContext.getInstance("TLS");

    public EasySSLSocketFactory(KeyStore truststore)
            throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
        super(truststore);

From source file com.spokenpic.net.ssl.TrustAllSSLSocketFactory.java

public class TrustAllSSLSocketFactory extends SSLSocketFactory {
    private javax.net.ssl.SSLSocketFactory factory;

    public TrustAllSSLSocketFactory()
            throws KeyManagementException, UnrecoverableKeyException, NoSuchAlgorithmException, KeyStoreException {
        super(null);