Top Description Fields Constructors Methods
reactor.netty.tcp

public final Class DefaultSslContextSpec

extends AbstractProtocolSslContextSpec<DefaultSslContextSpec>
Class Inheritance
Imports
io.netty.handler.ssl.SslContext, .SslContextBuilder, javax.net.ssl.KeyManager, .KeyManagerFactory, java.io.File, .InputStream, java.security.PrivateKey, java.security.cert.X509Certificate, java.util.function.Consumer

SslContext builder that does not provide any default configuration.
Author
Violeta Georgieva
Since
1.0.6

Field Summary

Modifier and TypeField and Description
pack-priv static final Consumer<SslContextBuilder>
Inherited from reactor.netty.tcp.AbstractProtocolSslContextSpec:
sslContextBuilder

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected Consumer<SslContextBuilder>
public static DefaultSslContextSpec

Returns:

this
forClient
()

Creates a builder for new client-side SslContext.

public static DefaultSslContextSpec
forServer(File keyCertChainFile, File keyFile)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(File keyCertChainFile, File keyFile, String keyPassword)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(KeyManagerFactory keyManagerFactory)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

public static DefaultSslContextSpec
forServer(PrivateKey key, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

public DefaultSslContextSpec
get()

Implements java.util.function.Supplier.get.

Gets a result.
Inherited from reactor.netty.tcp.AbstractProtocolSslContextSpec:
configuresslContext

Field Detail

DEFAULT_CONFIGURATORback to summary
pack-priv static final Consumer<SslContextBuilder> DEFAULT_CONFIGURATOR

Constructor Detail

DefaultSslContextSpecback to summary
pack-priv DefaultSslContextSpec(SslContextBuilder sslContextBuilder)

Method Detail

defaultConfigurationback to summary
protected Consumer<SslContextBuilder> defaultConfiguration()

Implements abstract reactor.netty.tcp.AbstractProtocolSslContextSpec.defaultConfiguration.

Annotations
@Override
forClientback to summary
public static DefaultSslContextSpec forClient()

Creates a builder for new client-side SslContext.

Returns:DefaultSslContextSpec

this

forServerback to summary
public static DefaultSslContextSpec forServer(File keyCertChainFile, File keyFile)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(File, File)
forServerback to summary
public static DefaultSslContextSpec forServer(File keyCertChainFile, File keyFile, String keyPassword)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(File, File, String)
forServerback to summary
public static DefaultSslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(InputStream, InputStream)
forServerback to summary
public static DefaultSslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(InputStream, InputStream, String)
forServerback to summary
public static DefaultSslContextSpec forServer(KeyManager keyManager)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(KeyManager)
forServerback to summary
public static DefaultSslContextSpec forServer(KeyManagerFactory keyManagerFactory)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(KeyManagerFactory)
forServerback to summary
public static DefaultSslContextSpec forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, Iterable)
forServerback to summary
public static DefaultSslContextSpec forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, String, Iterable)
forServerback to summary
public static DefaultSslContextSpec forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, String, X509Certificate...)
forServerback to summary
public static DefaultSslContextSpec forServer(PrivateKey key, X509Certificate... keyCertChain)

Creates a builder for new server-side SslContext.

See Also
SslContextBuilder#forServer(PrivateKey, X509Certificate...)
getback to summary
public DefaultSslContextSpec get()

Implements java.util.function.Supplier.get.

Doc from java.util.function.Supplier.get.

Gets a result.

Returns:DefaultSslContextSpec

a result

Annotations
@Override