public class ConscryptServerTlsStrategy extends Object implements TlsStrategy
TlsStrategy
that upgrades to TLS for endpoints
with the specified local ports.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()
SSLContext
public ConscryptServerTlsStrategy(SSLSessionVerifier verifier)
SSLSessionVerifier
.verifier
- the custom SSLSessionVerifier
.SSLContext
public 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 TlsStrategy
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.