Package io.servicetalk.transport.api
Interface ClientSslConfig
-
- All Superinterfaces:
SslConfig
public interface ClientSslConfig extends SslConfig
Specifies the configuration for client side TLS/SSL.- See Also:
ClientSslConfigBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringhostnameVerificationAlgorithm()Get the algorithm to use for hostname verification to verify the server identity.java.lang.StringpeerHost()Get the non-authoritative name of the peer.intpeerPort()Get the non-authoritative port of the peer.java.lang.StringsniHostname()Get the SNI host name.-
Methods inherited from interface io.servicetalk.transport.api.SslConfig
alpnProtocols, ciphers, keyCertChainSupplier, keyManagerFactory, keyPassword, keySupplier, provider, sessionCacheSize, sessionTimeout, sslProtocols, trustCertChainSupplier, trustManagerFactory
-
-
-
-
Method Detail
-
hostnameVerificationAlgorithm
@Nullable java.lang.String hostnameVerificationAlgorithm()
Get the algorithm to use for hostname verification to verify the server identity.- Returns:
- The algorithm to use when verifying the host name. See Endpoint Identification Algorithm Name.
- See Also:
SSLParameters.setEndpointIdentificationAlgorithm(String)
-
peerHost
@Nullable java.lang.String peerHost()
Get the non-authoritative name of the peer.- Returns:
- the non-authoritative name of the peer, or
nullif unavailable (which may disablehostname verificationand session resumption). - See Also:
SSLEngine.getPeerHost()
-
peerPort
int peerPort()
Get the non-authoritative port of the peer.- Returns:
- the non-authoritative port of the peer, or
-1if unavailable (which may prevent session resumption). - See Also:
SSLEngine.getPeerPort()
-
-