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 nz.net.catalyst.MaharaDroid.upload.http.DebugSSLSocketFactory.java

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

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

From source file org.keycloak.adapters.cloned.SniSSLSocketFactory.java

/**
 * SSLSocketFactory that uses Server Name Indication (SNI) TLS extension.
 *
 * <p>
 * Originally copied from <b>keycloak-adapter-core</b> project.
 *

From source file org.commonjava.maven.galley.transport.htcli.internal.LocationSSLSocketFactory.java

public class LocationSSLSocketFactory extends SSLSocketFactory {

    // private final Map<Location, SSLSocketFactory> repoFactories = new WeakHashMap<Location, SSLSocketFactory>();

    private final Logger logger = LoggerFactory.getLogger(getClass());

From source file com.gmail.nagamatu.radiko.installer.MySSLSocketFactory.java

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

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

From source file com.loopj.android.http.sample.util.SecureSocketFactory.java

/**
 * A class to authenticate a secured connection against a custom CA using a BKS store.
 *
 * @author Noor Dawod <github@fineswap.com>
 */
public class SecureSocketFactory extends SSLSocketFactory {

From source file com.example.bbbbbb.http.sample.util.SecureSocketFactory.java

/**
 * A class to authenticate a secured connection against a custom CA using a BKS store.
 *
 * @author Noor Dawod <github@fineswap.com>
 */
public class SecureSocketFactory extends SSLSocketFactory {

From source file fr.univsavoie.ltp.client.tools.SimpleSSLSocketFactory.java

/**
 * Simple SSLFactory implementation which is designed to ignore all the SSL certificate.
 * Note: Please only use this for development testing (for self signed in certificate). Adding this to the 
 * public application is a serious blunder.
 * @author Syed Ghulam Akbar
 */

From source file info.xiequan.androidbootstraps.util.network.SecureSocketFactory.java

/**
 * A class to authenticate a secured connection against a custom CA using a BKS store.
 *
 * @author Noor Dawod <github@fineswap.com>
 */
public class SecureSocketFactory extends SSLSocketFactory {

From source file com.eviware.soapui.impl.wsdl.support.http.SoapUISSLSocketFactory.java

public class SoapUISSLSocketFactory extends SSLSocketFactory {
    // a cache of factories for custom certificates/Keystores at the project level - never cleared
    private static final Map<String, SSLSocketFactory> factoryMap = new ConcurrentHashMap<String, SSLSocketFactory>();
    private final SSLContext sslContext = SSLContext.getInstance("TLS");
    private final static Logger log = Logger.getLogger(SoapUISSLSocketFactory.class);

From source file com.iflytek.iFramework.http.asynhttp.MySSLSocketFactory.java

/**
 * This file is introduced to fix HTTPS Post bug on API &lt; ICS see
 * http://code.google.com/p/android/issues/detail?id=13117#c14 <p>&nbsp;</p> Warning! This omits SSL
 * certificate validation on every device, use with caution
 */
public class MySSLSocketFactory extends SSLSocketFactory {