public final class DefaultSslContextSpec extends AbstractProtocolSslContextSpec<DefaultSslContextSpec>
Modifier and Type | Method and Description |
---|---|
protected java.util.function.Consumer<SslContextBuilder> |
defaultConfiguration() |
static DefaultSslContextSpec |
forClient()
Creates a builder for new client-side
SslContext . |
static DefaultSslContextSpec |
forServer(File keyCertChainFile,
File keyFile)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(File keyCertChainFile,
File keyFile,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(InputStream keyCertChainInputStream,
InputStream keyInputStream,
String keyPassword)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(KeyManager keyManager)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(KeyManagerFactory keyManagerFactory)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(PrivateKey key,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(PrivateKey key,
String keyPassword,
Iterable<? extends X509Certificate> keyCertChain)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(PrivateKey key,
String keyPassword,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
static DefaultSslContextSpec |
forServer(PrivateKey key,
X509Certificate... keyCertChain)
Creates a builder for new server-side
SslContext . |
DefaultSslContextSpec |
get() |
configure, sslContext
public static DefaultSslContextSpec forClient()
SslContext
.public static DefaultSslContextSpec forServer(File keyCertChainFile, File keyFile)
SslContext
.SslContextBuilder.forServer(File, File)
public static DefaultSslContextSpec forServer(File keyCertChainFile, File keyFile, String keyPassword)
SslContext
.public static DefaultSslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream)
SslContext
.public static DefaultSslContextSpec forServer(InputStream keyCertChainInputStream, InputStream keyInputStream, String keyPassword)
SslContext
.public static DefaultSslContextSpec forServer(KeyManager keyManager)
SslContext
.SslContextBuilder.forServer(KeyManager)
public static DefaultSslContextSpec forServer(KeyManagerFactory keyManagerFactory)
SslContext
.public static DefaultSslContextSpec forServer(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain)
SslContext
.public static DefaultSslContextSpec forServer(PrivateKey key, String keyPassword, Iterable<? extends X509Certificate> keyCertChain)
SslContext
.public static DefaultSslContextSpec forServer(PrivateKey key, String keyPassword, X509Certificate... keyCertChain)
SslContext
.public static DefaultSslContextSpec forServer(PrivateKey key, X509Certificate... keyCertChain)
SslContext
.public DefaultSslContextSpec get()
protected java.util.function.Consumer<SslContextBuilder> defaultConfiguration()
defaultConfiguration
in class AbstractProtocolSslContextSpec<DefaultSslContextSpec>