@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,
                          SSLBufferMode sslBufferManagement,
                          HostnameVerifier hostnameVerifier) | 
| Modifier and Type | Method and Description | 
|---|---|
| static TlsStrategy | getDefault() | 
| static TlsStrategy | getSystemDefault() | 
| protected void | initializeEngine(SSLEngine sslEngine) | 
| static boolean | isSupported() | 
| boolean | upgrade(TransportSecurityLayer tlsSession,
       HttpHost host,
       SocketAddress localAddress,
       SocketAddress remoteAddress,
       Object attachment,
       Timeout handshakeTimeout) | 
| void | upgrade(TransportSecurityLayer tlsSession,
       NamedEndpoint endpoint,
       Object attachment,
       Timeout handshakeTimeout,
       FutureCallback<TransportSecurityLayer> callback) | 
| protected void | verifySession(String hostname,
             SSLSession sslsession) | 
public ConscryptClientTlsStrategy(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, SSLBufferMode sslBufferManagement, HostnameVerifier hostnameVerifier)
public ConscryptClientTlsStrategy(SSLContext sslContext, HostnameVerifier hostnameVerifier)
public ConscryptClientTlsStrategy(SSLContext sslContext)
public static TlsStrategy getDefault()
public static TlsStrategy getSystemDefault()
public static boolean isSupported()
@Deprecated public boolean upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)
upgrade in interface TlsStrategypublic void upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)
upgrade in interface TlsStrategyprotected void initializeEngine(SSLEngine sslEngine)
protected void verifySession(String hostname, SSLSession sslsession) throws SSLException
SSLExceptionCopyright © 1999–2021 The Apache Software Foundation. All rights reserved.