Class of org.apache.http.conn.ssl · SSLSocketFactory.java
public class SSLSocketFactory implements LayeredSocketFactory
TLS sockets, from the JDK's SSLContext with the key and trust stores given (the JDK's own when null).
public static final String TLS = "TLS" sourcepublic static final String SSL = "SSL" sourcepublic static final String SSLV2 = "SSLv2" sourcepublic static final X509HostnameVerifier ALLOW_ALL_HOSTNAME_VERIFIER sourcepublic static final X509HostnameVerifier BROWSER_COMPATIBLE_HOSTNAME_VERIFIER sourcepublic static final X509HostnameVerifier STRICT_HOSTNAME_VERIFIER sourcepublic SSLSocketFactory(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, java.security.SecureRandom random, org.apache.http.conn.scheme.HostNameResolver nameResolver) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException sourcepublic SSLSocketFactory(KeyStore keystore, String keystorePassword, KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException sourcepublic SSLSocketFactory(KeyStore keystore, String keystorePassword) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException sourcepublic SSLSocketFactory(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException sourcepublic SSLSocketFactory(javax.net.ssl.SSLSocketFactory socketfactory) sourcepublic static SSLSocketFactory getSocketFactory() sourcepublic Socket createSocket() throws IOException sourcepublic Socket connectSocket(Socket sock, String host, int port, InetAddress localAddress, int localPort, HttpParams params) throws IOException sourcepublic boolean isSecure(Socket sock) sourcepublic Socket createSocket(Socket socket, String host, int port, boolean autoClose) throws IOException sourcepublic void setHostnameVerifier(X509HostnameVerifier hostnameVerifier) sourcepublic X509HostnameVerifier getHostnameVerifier() sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.