@Deprecated public class SSLLayeringStrategy extends Object implements LayeringStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
SSL
Deprecated.
|
static String |
SSLV2
Deprecated.
|
static String |
TLS
Deprecated.
|
| Constructor and Description |
|---|
SSLLayeringStrategy(KeyStore truststore)
Deprecated.
|
SSLLayeringStrategy(KeyStore keystore,
String keystorePassword)
Deprecated.
|
SSLLayeringStrategy(KeyStore keystore,
String keystorePassword,
KeyStore truststore)
Deprecated.
|
SSLLayeringStrategy(SSLContext sslContext)
Deprecated.
|
SSLLayeringStrategy(SSLContext sslContext,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(String algorithm,
KeyStore keystore,
String keystorePassword,
KeyStore truststore,
SecureRandom random,
org.apache.http.conn.ssl.TrustStrategy trustStrategy,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(String algorithm,
KeyStore keystore,
String keystorePassword,
KeyStore truststore,
SecureRandom random,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
Deprecated.
|
SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static SSLLayeringStrategy |
getDefaultStrategy()
Deprecated.
|
static SSLLayeringStrategy |
getSystemDefaultStrategy()
Deprecated.
|
protected void |
initializeEngine(SSLEngine engine)
Deprecated.
|
boolean |
isSecure()
Deprecated.
|
org.apache.http.nio.reactor.ssl.SSLIOSession |
layer(org.apache.http.nio.reactor.IOSession iosession)
Deprecated.
|
protected void |
verifySession(org.apache.http.nio.reactor.IOSession iosession,
SSLSession sslsession)
Deprecated.
|
public static final String TLS
public static final String SSL
public static final String SSLV2
public SSLLayeringStrategy(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, org.apache.http.conn.ssl.TrustStrategy trustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(KeyStore keystore, String keystorePassword, KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(KeyStore keystore, String keystorePassword) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy,
org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
throws NoSuchAlgorithmException,
KeyManagementException,
KeyStoreException,
UnrecoverableKeyException
public SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy)
throws NoSuchAlgorithmException,
KeyManagementException,
KeyStoreException,
UnrecoverableKeyException
public SSLLayeringStrategy(SSLContext sslContext, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier)
public SSLLayeringStrategy(SSLContext sslContext)
public static SSLLayeringStrategy getDefaultStrategy()
public static SSLLayeringStrategy getSystemDefaultStrategy()
public boolean isSecure()
isSecure in interface LayeringStrategypublic org.apache.http.nio.reactor.ssl.SSLIOSession layer(org.apache.http.nio.reactor.IOSession iosession)
layer in interface LayeringStrategyprotected void initializeEngine(SSLEngine engine)
protected void verifySession(org.apache.http.nio.reactor.IOSession iosession,
SSLSession sslsession)
throws SSLException
SSLExceptionCopyright © 2010–2016 The Apache Software Foundation. All rights reserved.