Package | Description |
---|---|
io.netty.handler.ssl |
Modifier and Type | Method and Description |
---|---|
SslContextBuilder |
SslContextBuilder.applicationProtocolConfig(ApplicationProtocolConfig apn)
Application protocol negotiation configuration.
|
SslContextBuilder |
SslContextBuilder.ciphers(Iterable<String> ciphers)
The cipher suites to enable, in the order of preference.
|
SslContextBuilder |
SslContextBuilder.ciphers(Iterable<String> ciphers,
CipherSuiteFilter cipherFilter)
The cipher suites to enable, in the order of preference.
|
SslContextBuilder |
SslContextBuilder.clientAuth(ClientAuth clientAuth)
Sets the client authentication mode.
|
SslContextBuilder |
SslContextBuilder.enableOcsp(boolean enableOcsp)
Enables OCSP stapling.
|
SslContextBuilder |
SslContextBuilder.endpointIdentificationAlgorithm(String algorithm)
Specify the endpoint identification algorithm (aka. hostname verification algorithm) that clients will use as
part of authenticating servers.
|
static SslContextBuilder |
SslContextBuilder.forClient()
Creates a builder for new client-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(File keyCertChainFile,
File keyFile)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(File keyCertChainFile,
File keyFile,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(KeyManager keyManager)
Creates a builder for new server-side
SslContext with KeyManager . |
static SslContextBuilder |
SslContextBuilder.forServer(KeyManagerFactory keyManagerFactory)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(PrivateKey key,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(PrivateKey key,
String keyPassword,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(PrivateKey key,
String keyPassword,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
static SslContextBuilder |
SslContextBuilder.forServer(PrivateKey key,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
SslContextBuilder |
SslContextBuilder.keyManager(File keyCertChainFile,
File keyFile)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(File keyCertChainFile,
File keyFile,
String keyPassword)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(InputStream keyCertChainInputStream,
InputStream keyInputStream)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(InputStream keyCertChainInputStream,
InputStream keyInputStream,
String keyPassword)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(KeyManager keyManager)
A single key manager managing the identity information of this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(KeyManagerFactory keyManagerFactory)
Identifying manager for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(PrivateKey key,
Iterable<? extends X509Certificate> keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(PrivateKey key,
String keyPassword,
Iterable<? extends X509Certificate> keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(PrivateKey key,
String keyPassword,
X509Certificate... keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyManager(PrivateKey key,
X509Certificate... keyCertChain)
Identifying certificate for this host.
|
SslContextBuilder |
SslContextBuilder.keyStoreType(String keyStoreType)
Sets the
KeyStore type that should be used. |
<T> SslContextBuilder |
SslContextBuilder.option(SslContextOption<T> option,
T value)
Configure a
SslContextOption . |
SslContextBuilder |
SslContextBuilder.protocols(Iterable<String> protocols)
The TLS protocol versions to enable.
|
SslContextBuilder |
SslContextBuilder.protocols(String... protocols)
The TLS protocol versions to enable.
|
SslContextBuilder |
SslContextBuilder.secureRandom(SecureRandom secureRandom)
Specify a non-default source of randomness for the
JdkSslContext
In general, the best practice is to leave this unspecified, or to assign a new random source using the
default new SecureRandom() constructor. |
SslContextBuilder |
SslContextBuilder.sessionCacheSize(long sessionCacheSize)
Set the size of the cache used for storing SSL session objects.
|
SslContextBuilder |
SslContextBuilder.sessionTimeout(long sessionTimeout)
Set the timeout for the cached SSL session objects, in seconds.
|
SslContextBuilder |
SslContextBuilder.sslContextProvider(Provider sslContextProvider)
The SSLContext
Provider to use. |
SslContextBuilder |
SslContextBuilder.sslProvider(SslProvider provider)
The
SslContext implementation to use. |
SslContextBuilder |
SslContextBuilder.startTls(boolean startTls)
true if the first write request shouldn't be encrypted. |
SslContextBuilder |
SslContextBuilder.trustManager(File trustCertCollectionFile)
Trusted certificates for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(InputStream trustCertCollectionInputStream)
Trusted certificates for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(Iterable<? extends X509Certificate> trustCertCollection)
Trusted certificates for verifying the remote endpoint's certificate,
null uses the system default. |
SslContextBuilder |
SslContextBuilder.trustManager(TrustManager trustManager)
A single trusted manager for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(TrustManagerFactory trustManagerFactory)
Trusted manager for verifying the remote endpoint's certificate.
|
SslContextBuilder |
SslContextBuilder.trustManager(X509Certificate... trustCertCollection)
Trusted certificates for verifying the remote endpoint's certificate,
null uses the system default. |
Copyright © 2008–2024 The Netty Project. All rights reserved.