public class H2TlsStrategy extends Object implements org.apache.hc.core5.http.nio.ssl.TlsStrategy
| Constructor and Description |
|---|
H2TlsStrategy(SSLContext sslcontext) |
H2TlsStrategy(SSLContext sslcontext,
HostnameVerifier hostnameVerifier) |
H2TlsStrategy(SSLContext sslContext,
String[] supportedProtocols,
String[] supportedCipherSuites,
org.apache.hc.core5.reactor.ssl.SSLBufferManagement sslBufferManagement,
HostnameVerifier hostnameVerifier) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hc.core5.reactor.ssl.TlsDetails |
createTlsDetails(SSLEngine sslEngine) |
static org.apache.hc.core5.http.nio.ssl.TlsStrategy |
getDefault() |
static HostnameVerifier |
getDefaultHostnameVerifier() |
static org.apache.hc.core5.http.nio.ssl.TlsStrategy |
getSystemDefault() |
protected void |
initializeEngine(SSLEngine sslEngine) |
boolean |
upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer tlsSession,
org.apache.hc.core5.http.HttpHost host,
SocketAddress localAddress,
SocketAddress remoteAddress,
Object attachment) |
protected void |
verifySession(String hostname,
SSLSession sslsession) |
public H2TlsStrategy(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, org.apache.hc.core5.reactor.ssl.SSLBufferManagement sslBufferManagement, HostnameVerifier hostnameVerifier)
public H2TlsStrategy(SSLContext sslcontext, HostnameVerifier hostnameVerifier)
public H2TlsStrategy(SSLContext sslcontext)
public static HostnameVerifier getDefaultHostnameVerifier()
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getDefault()
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getSystemDefault()
public boolean upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer tlsSession,
org.apache.hc.core5.http.HttpHost host,
SocketAddress localAddress,
SocketAddress remoteAddress,
Object attachment)
upgrade in interface org.apache.hc.core5.http.nio.ssl.TlsStrategyprotected void initializeEngine(SSLEngine sslEngine)
protected void verifySession(String hostname, SSLSession sslsession) throws SSLException
SSLExceptionprotected org.apache.hc.core5.reactor.ssl.TlsDetails createTlsDetails(SSLEngine sslEngine)
Copyright © 1999–2017 The Apache Software Foundation. All rights reserved.