Package com.linecorp.armeria.common
Interface TlsSetters
- All Known Implementing Classes:
ClientFactoryBuilder
,ServerBuilder
,VirtualHostBuilder
Sets properties for TLS or SSL.
-
Method Summary
Modifier and TypeMethodDescriptiondefault TlsSetters
Configures SSL or TLS with the specifiedkeyCertChainFile
and cleartextkeyFile
.Configures SSL or TLS with the specifiedkeyCertChainFile
,keyFile
andkeyPassword
.default TlsSetters
tls
(InputStream keyCertChainInputStream, InputStream keyInputStream) Configures SSL or TLS with the specifiedkeyCertChainInputStream
and cleartextkeyInputStream
.tls
(InputStream keyCertChainInputStream, InputStream keyInputStream, @Nullable String keyPassword) Configures SSL or TLS of this with the specifiedkeyCertChainInputStream
,keyInputStream
andkeyPassword
.tls
(PrivateKey key, @Nullable String keyPassword, Iterable<? extends X509Certificate> keyCertChain) default TlsSetters
tls
(PrivateKey key, @Nullable String keyPassword, X509Certificate... keyCertChain) default TlsSetters
tls
(PrivateKey key, Iterable<? extends X509Certificate> keyCertChain) Configures SSL or TLS with the specified cleartextPrivateKey
andX509Certificate
chain.default TlsSetters
tls
(PrivateKey key, X509Certificate... keyCertChain) Configures SSL or TLS with the specified cleartextPrivateKey
andX509Certificate
chain.tls
(KeyManagerFactory keyManagerFactory) Configures SSL or TLS with the specifiedKeyManagerFactory
.tlsCustomizer
(Consumer<? super SslContextBuilder> tlsCustomizer) Adds theConsumer
which can arbitrarily configure theSslContextBuilder
that will be applied to the SSL session.
-
Method Details
-
tls
Configures SSL or TLS with the specifiedkeyCertChainFile
and cleartextkeyFile
. -
tls
Configures SSL or TLS with the specifiedkeyCertChainFile
,keyFile
andkeyPassword
. -
tls
Configures SSL or TLS with the specifiedkeyCertChainInputStream
and cleartextkeyInputStream
. -
tls
TlsSetters tls(InputStream keyCertChainInputStream, InputStream keyInputStream, @Nullable @Nullable String keyPassword) Configures SSL or TLS of this with the specifiedkeyCertChainInputStream
,keyInputStream
andkeyPassword
. -
tls
Configures SSL or TLS with the specified cleartextPrivateKey
andX509Certificate
chain. -
tls
Configures SSL or TLS with the specified cleartextPrivateKey
andX509Certificate
chain. -
tls
default TlsSetters tls(PrivateKey key, @Nullable @Nullable String keyPassword, X509Certificate... keyCertChain) -
tls
TlsSetters tls(PrivateKey key, @Nullable @Nullable String keyPassword, Iterable<? extends X509Certificate> keyCertChain) -
tls
Configures SSL or TLS with the specifiedKeyManagerFactory
. -
tlsCustomizer
Adds theConsumer
which can arbitrarily configure theSslContextBuilder
that will be applied to the SSL session.
-