List of usage examples for org.apache.http.conn.ssl SSLSocketFactory subclass-usage
From source file com.shalzz.attendance.wrapper.MySSLSocketFactory.java
/** * Custom SSLSocketFactory for managing SSL connections. * @author shalzz */ public class MySSLSocketFactory extends SSLSocketFactory { private final SSLContext sslContext = SSLContext.getInstance("TLS");
From source file org.sana.android.net.ssl.SimpleSSLProtocolSocketFactory.java
/**
* <p>
* EasySSLProtocolSocketFactory can be used to creats SSL {@link Socket}s
* that accept self-signed certificates.
* </p>
* <p>
From source file br.gov.frameworkdemoiselle.behave.integration.alm.httpsclient.MySSLSocketFactory.java
@SuppressWarnings("deprecation") public class MySSLSocketFactory extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("TLS"); public MySSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
From source file biz.mosil.webtools.MosilSSLSocketFactory.java
public class MosilSSLSocketFactory extends SSLSocketFactory { private SSLContext mSSLContext = SSLContext.getInstance("TLS"); public MosilSSLSocketFactory(KeyStore _truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException { super(_truststore);
From source file org.apache.commons.httpclient.contrib.ssl.AuthSSLProtocolSocketFactory.java
/**
* <p>
* AuthSSLProtocolSocketFactory can be used to validate the identity of the HTTPS
* server against a list of trusted certificates and to authenticate to the HTTPS
* server using a private key.
* </p>
From source file srl.distributed.client.InsecureSSLSocketFactory.java
public class InsecureSSLSocketFactory extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("TLS"); public InsecureSSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException { super(truststore);
From source file com.fine47.http.SecureSocketFactory.java
/**
* A concise and robust SSL factory to connect to custom HTTPS backend using a
* custom certificate using {@link KeyStore}s and aliases. In order to make
* this an easy process, only a key store and an alias it required.
*
* Before utilizing certificates, however, one must register a key store and
From source file org.godotengine.godot.utils.CustomSSLSocketFactory.java
/** * * @author Luis Linietsky <luis.linietsky@gmail.com> */ public class CustomSSLSocketFactory extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("TLS");
From source file com.jakarta.software.web.utils.EasySSLProtocolSocketFactory.java
public class EasySSLProtocolSocketFactory extends SSLSocketFactory { SSLContext sslContext = SSLContext.getInstance("TLS"); public EasySSLProtocolSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
From source file org.apache.commons.httpclient.contrib.ssl.StrictSSLProtocolSocketFactory.java
/**
* A <code>SecureProtocolSocketFactory</code> that uses JSSE to create
* SSL sockets. It will also support host name verification to help preventing
* man-in-the-middle attacks. Host name verification is turned <b>on</b> by
* default but one will be able to turn it off, which might be a useful feature
* during development. Host name verification will make sure the SSL sessions