Class ReadOnlyClientSecurityConfig
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.ReadOnlyClientSecurityConfig
-
- Direct Known Subclasses:
ClientSecurityConfig
public class ReadOnlyClientSecurityConfig extends java.lang.ObjectRead-only security config for clients.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringhostnameVerificationAlgorithmprotected java.lang.StringhostNameVerificationHostprotected inthostNameVerificationPortOnly valid ifhostNameVerificationHostis valid.protected java.util.function.Supplier<java.io.InputStream>keyCertChainSupplierprotected javax.net.ssl.KeyManagerFactorykeyManagerFactoryprotected java.lang.StringkeyPasswordprotected java.util.function.Supplier<java.io.InputStream>keySupplierprotected java.lang.StringsniHostname
-
Constructor Summary
Constructors Modifier Constructor Description protectedReadOnlyClientSecurityConfig(ReadOnlyClientSecurityConfig from)Copy constructor.protectedReadOnlyClientSecurityConfig(java.lang.String serverHostname, int serverPort)Creates new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringhostnameVerificationAlgorithm()Returns the host name verification algorithm.java.lang.StringhostnameVerificationHost()Returns the host name verification host.inthostnameVerificationPort()Returns the host name verification port.java.lang.StringsniHostname()Returns the SNI host name.
-
-
-
Field Detail
-
hostnameVerificationAlgorithm
@Nullable protected java.lang.String hostnameVerificationAlgorithm
-
hostNameVerificationHost
@Nullable protected java.lang.String hostNameVerificationHost
-
hostNameVerificationPort
protected int hostNameVerificationPort
Only valid ifhostNameVerificationHostis valid.
-
sniHostname
@Nullable protected java.lang.String sniHostname
-
keyManagerFactory
@Nullable protected javax.net.ssl.KeyManagerFactory keyManagerFactory
-
keyCertChainSupplier
protected java.util.function.Supplier<java.io.InputStream> keyCertChainSupplier
-
keySupplier
protected java.util.function.Supplier<java.io.InputStream> keySupplier
-
keyPassword
@Nullable protected java.lang.String keyPassword
-
-
Constructor Detail
-
ReadOnlyClientSecurityConfig
protected ReadOnlyClientSecurityConfig(java.lang.String serverHostname, int serverPort)Creates new instance.- Parameters:
serverHostname- Hostname for the server.serverPort- Port for the server.
-
ReadOnlyClientSecurityConfig
protected ReadOnlyClientSecurityConfig(ReadOnlyClientSecurityConfig from)
Copy constructor.- Parameters:
from-ReadOnlyClientSecurityConfigto copy.
-
-
Method Detail
-
hostnameVerificationAlgorithm
@Nullable public java.lang.String hostnameVerificationAlgorithm()
Returns the host name verification algorithm.- Returns:
- The host name verification algorithm.
-
hostnameVerificationHost
@Nullable public java.lang.String hostnameVerificationHost()
Returns the host name verification host.- Returns:
- The host name verification host.
-
hostnameVerificationPort
public int hostnameVerificationPort()
Returns the host name verification port.- Returns:
- The host name verification port.
-
sniHostname
@Nullable public java.lang.String sniHostname()
Returns the SNI host name.- Returns:
- The SNI host name.
-
-