| Package | Description | 
|---|---|
| org.apache.hc.core5.http.nio.ssl | TLS protocol support. | 
| org.apache.hc.core5.http2.ssl | HTTP/2 specific TLS protocol support. | 
| org.apache.hc.core5.reactor.ssl | TLS/SSL support for I/O reactors. | 
| Constructor and Description | 
|---|
| BasicClientTlsStrategy(SSLContext sslContext,
                      SSLBufferMode sslBufferMode,
                      SSLSessionInitializer initializer,
                      SSLSessionVerifier verifier) | 
| BasicServerTlsStrategy(SSLContext sslContext,
                      SecurePortStrategy securePortStrategy,
                      SSLBufferMode sslBufferMode,
                      SSLSessionInitializer initializer,
                      SSLSessionVerifier verifier) | 
| BasicServerTlsStrategy(SSLContext sslContext,
                      SSLBufferMode sslBufferMode,
                      SSLSessionInitializer initializer,
                      SSLSessionVerifier verifier) | 
| Modifier and Type | Method and Description | 
|---|---|
| static SSLBufferMode | SSLBufferMode. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static SSLBufferMode[] | SSLBufferMode. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TransportSecurityLayer. startTls(SSLContext sslContext,
        NamedEndpoint endpoint,
        SSLBufferMode sslBufferMode,
        SSLSessionInitializer initializer,
        SSLSessionVerifier verifier,
        Timeout handshakeTimeout)Starts TLS session over an existing network connection with the given SSL context. | 
| Constructor and Description | 
|---|
| SSLIOSession(NamedEndpoint targetEndpoint,
            IOSession session,
            SSLMode sslMode,
            SSLContext sslContext,
            SSLBufferMode sslBufferMode,
            SSLSessionInitializer initializer,
            SSLSessionVerifier verifier,
            Callback<SSLIOSession> sessionStartCallback,
            Callback<SSLIOSession> sessionEndCallback,
            Timeout connectTimeout)Creates new instance of  SSLIOSessionclass. | 
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.