Package org.apache.hc.client5.http.ssl
Class ConscryptClientTlsStrategy
java.lang.Object
org.apache.hc.client5.http.ssl.AbstractClientTlsStrategy
org.apache.hc.client5.http.ssl.ConscryptClientTlsStrategy
- All Implemented Interfaces:
org.apache.hc.core5.http.nio.ssl.TlsStrategy
@Contract(threading=STATELESS)
public class ConscryptClientTlsStrategy
extends AbstractClientTlsStrategy
TLS upgrade strategy for non-blocking client connections using Conscrypt TLS library.
- Since:
- 5.0
-
Constructor Summary
ConstructorsConstructorDescriptionConscryptClientTlsStrategy(SSLContext sslcontext) ConscryptClientTlsStrategy(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, org.apache.hc.core5.reactor.ssl.SSLBufferMode sslBufferManagement, HostnameVerifier hostnameVerifier) ConscryptClientTlsStrategy(SSLContext sslcontext, HostnameVerifier hostnameVerifier) -
Method Summary
Modifier and TypeMethodDescription(package private) voidapplyParameters(SSLEngine sslEngine, SSLParameters sslParameters, String[] appProtocols) (package private) org.apache.hc.core5.reactor.ssl.TlsDetailscreateTlsDetails(SSLEngine sslEngine) static org.apache.hc.core5.http.nio.ssl.TlsStrategystatic org.apache.hc.core5.http.nio.ssl.TlsStrategystatic booleanMethods inherited from class org.apache.hc.client5.http.ssl.AbstractClientTlsStrategy
initializeEngine, upgrade, upgrade, verifySession
-
Constructor Details
-
ConscryptClientTlsStrategy
public ConscryptClientTlsStrategy(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, org.apache.hc.core5.reactor.ssl.SSLBufferMode sslBufferManagement, HostnameVerifier hostnameVerifier) -
ConscryptClientTlsStrategy
-
ConscryptClientTlsStrategy
-
-
Method Details
-
getDefault
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getDefault() -
getSystemDefault
public static org.apache.hc.core5.http.nio.ssl.TlsStrategy getSystemDefault() -
applyParameters
- Specified by:
applyParametersin classAbstractClientTlsStrategy
-
createTlsDetails
- Specified by:
createTlsDetailsin classAbstractClientTlsStrategy
-
isSupported
public static boolean isSupported()
-