@Contract(threading=STATELESS) public class ConscryptClientTlsStrategy extends Object
| Constructor and Description | 
|---|
| ConscryptClientTlsStrategy(SSLContext sslcontext) | 
| ConscryptClientTlsStrategy(SSLContext sslcontext,
                          HostnameVerifier hostnameVerifier) | 
| ConscryptClientTlsStrategy(SSLContext sslContext,
                          String[] supportedProtocols,
                          String[] supportedCipherSuites,
                          org.apache.hc.core5.reactor.ssl.SSLBufferMode sslBufferManagement,
                          HostnameVerifier hostnameVerifier) | 
| Modifier and Type | Method and Description | 
|---|---|
| static org.apache.hc.core5.http.nio.ssl.TlsStrategy | getDefault() | 
| static org.apache.hc.core5.http.nio.ssl.TlsStrategy | getSystemDefault() | 
| protected void | initializeEngine(SSLEngine sslEngine) | 
| static boolean | isSupported() | 
| boolean | upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer tlsSession,
       org.apache.hc.core5.http.HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       org.apache.hc.core5.util.Timeout handshakeTimeout) | 
| protected void | verifySession(String hostname,
             SSLSession sslsession) | 
public ConscryptClientTlsStrategy(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, org.apache.hc.core5.reactor.ssl.SSLBufferMode sslBufferManagement, HostnameVerifier hostnameVerifier)
public ConscryptClientTlsStrategy(SSLContext sslcontext, HostnameVerifier hostnameVerifier)
public ConscryptClientTlsStrategy(SSLContext sslcontext)
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getDefault()
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getSystemDefault()
public static boolean isSupported()
public boolean upgrade(org.apache.hc.core5.reactor.ssl.TransportSecurityLayer tlsSession,
              org.apache.hc.core5.http.HttpHost host,
              SocketAddress localAddress,
              SocketAddress remoteAddress,
              Object attachment,
              org.apache.hc.core5.util.Timeout handshakeTimeout)
upgrade in interface org.apache.hc.core5.http.nio.ssl.TlsStrategyprotected void initializeEngine(SSLEngine sslEngine)
protected void verifySession(String hostname, SSLSession sslsession) throws SSLException
SSLExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.