Package org.apache.http.nio.conn.ssl
Class SSLLayeringStrategy
java.lang.Object
org.apache.http.nio.conn.ssl.SSLLayeringStrategy
- All Implemented Interfaces:
LayeringStrategy
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.http.conn.ssl.X509HostnameVerifier
Deprecated.static final String
Deprecated.private final SSLContext
Deprecated.static final String
Deprecated.static final String
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionSSLLayeringStrategy
(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
(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
(org.apache.http.conn.ssl.TrustStrategy trustStrategy) Deprecated.SSLLayeringStrategy
(org.apache.http.conn.ssl.TrustStrategy trustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprivate static SSLContext
createSSLContext
(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, org.apache.http.conn.ssl.TrustStrategy trustStrategy) Deprecated.static SSLLayeringStrategy
Deprecated.static SSLLayeringStrategy
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.
-
Field Details
-
TLS
Deprecated.- See Also:
-
SSL
Deprecated.- See Also:
-
SSLV2
Deprecated.- See Also:
-
sslContext
Deprecated. -
hostnameVerifier
private final org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifierDeprecated.
-
-
Constructor Details
-
SSLLayeringStrategy
public SSLLayeringStrategy(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
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 Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(KeyStore keystore, String keystorePassword, KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(KeyStore keystore, String keystorePassword) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(KeyStore truststore) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(org.apache.http.conn.ssl.TrustStrategy trustStrategy) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException Deprecated. -
SSLLayeringStrategy
public SSLLayeringStrategy(SSLContext sslContext, org.apache.http.conn.ssl.X509HostnameVerifier hostnameVerifier) Deprecated. -
SSLLayeringStrategy
Deprecated.
-
-
Method Details
-
getDefaultStrategy
Deprecated. -
getSystemDefaultStrategy
Deprecated. -
createSSLContext
private static SSLContext createSSLContext(String algorithm, KeyStore keystore, String keystorePassword, KeyStore truststore, SecureRandom random, org.apache.http.conn.ssl.TrustStrategy trustStrategy) throws NoSuchAlgorithmException, KeyStoreException, UnrecoverableKeyException, KeyManagementException Deprecated. -
isSecure
public boolean isSecure()Deprecated.- Specified by:
isSecure
in interfaceLayeringStrategy
-
layer
public org.apache.http.nio.reactor.ssl.SSLIOSession layer(org.apache.http.nio.reactor.IOSession iosession) Deprecated.- Specified by:
layer
in interfaceLayeringStrategy
-
initializeEngine
Deprecated. -
verifySession
protected void verifySession(org.apache.http.nio.reactor.IOSession iosession, SSLSession sslsession) throws SSLException Deprecated.- Throws:
SSLException
-