@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,
X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(String algorithm,
KeyStore keystore,
String keystorePassword,
KeyStore truststore,
SecureRandom random,
TrustStrategy trustStrategy,
X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(String algorithm,
KeyStore keystore,
String keystorePassword,
KeyStore truststore,
SecureRandom random,
X509HostnameVerifier hostnameVerifier)
Deprecated.
|
SSLLayeringStrategy(TrustStrategy trustStrategy)
Deprecated.
|
SSLLayeringStrategy(TrustStrategy trustStrategy,
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, X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, TrustStrategy trustStrategy, 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(TrustStrategy trustStrategy, X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(TrustStrategy trustStrategy) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException
public SSLLayeringStrategy(SSLContext sslContext, X509HostnameVerifier hostnameVerifier)
public SSLLayeringStrategy(SSLContext sslContext)
public static SSLLayeringStrategy getDefaultStrategy()
public static SSLLayeringStrategy getSystemDefaultStrategy()
public boolean isSecure()
isSecure
in interface LayeringStrategy
public org.apache.http.nio.reactor.ssl.SSLIOSession layer(org.apache.http.nio.reactor.IOSession iosession)
layer
in interface LayeringStrategy
protected void initializeEngine(SSLEngine engine)
protected void verifySession(org.apache.http.nio.reactor.IOSession iosession, SSLSession sslsession) throws SSLException
SSLException
Copyright © 2010–2021 The Apache Software Foundation. All rights reserved.