public class ConscryptServerTlsStrategy extends Object implements TlsStrategy
TlsStrategy
that upgrades to TLS for endpoints
with the specified local ports.Constructor and Description |
---|
ConscryptServerTlsStrategy(SSLContext sslContext,
int... securePorts) |
ConscryptServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy) |
ConscryptServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLBufferMode sslBufferMode,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier) |
ConscryptServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLSessionInitializer initializer,
SSLSessionVerifier verifier) |
ConscryptServerTlsStrategy(SSLContext sslContext,
SecurePortStrategy securePortStrategy,
SSLSessionVerifier verifier) |
Modifier and Type | Method and Description |
---|---|
boolean |
upgrade(TransportSecurityLayer tlsSession,
HttpHost host,
SocketAddress localAddress,
SocketAddress remoteAddress,
Object attachment,
Timeout handshakeTimeout) |
public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLBufferMode sslBufferMode, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionInitializer initializer, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy, SSLSessionVerifier verifier)
public ConscryptServerTlsStrategy(SSLContext sslContext, SecurePortStrategy securePortStrategy)
public ConscryptServerTlsStrategy(SSLContext sslContext, int... securePorts)
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.