public class ConscryptServerTlsStrategy extends Object implements TlsStrategy
TlsStrategy that upgrades inbound
connection with TLS security. This strategy will try to negotiate an application protocol
using TLS ALPN extension support through Conscrypt native APIs based on
HttpVersionPolicy passed to the strategy as an attachment.| Modifier and Type | Method and Description |
|---|---|
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) |
@Deprecated public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
@Deprecated public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
@Deprecated public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionVerifier verifier)
ConscryptServerTlsStrategy(SSLContext, SSLSessionVerifier)@Deprecated public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy)
ConscryptServerTlsStrategy(SSLContext)@Deprecated public ConscryptServerTlsStrategy(SSLContext sslContext, int... securePorts)
ConscryptServerTlsStrategy(SSLContext)public ConscryptServerTlsStrategy(SSLContext sslContext, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext)
public ConscryptServerTlsStrategy()
SSLContextpublic ConscryptServerTlsStrategy(SSLSessionVerifier verifier)
SSLSessionVerifier.verifier - the custom SSLSessionVerifier.SSLContextpublic void upgrade(TransportSecurityLayer tlsSession, NamedEndpoint endpoint, Object attachment, Timeout handshakeTimeout, FutureCallback<TransportSecurityLayer> callback)
upgrade in interface TlsStrategy@Deprecated public boolean upgrade(TransportSecurityLayer tlsSession, HttpHost host, SocketAddress localAddress, SocketAddress remoteAddress, Object attachment, Timeout handshakeTimeout)
upgrade in interface TlsStrategyCopyright © 2005–2021 The Apache Software Foundation. All rights reserved.