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.String
hostnameVerificationAlgorithm()
Get the algorithm to use for hostname verification to verify the server identity.java.lang.String
peerHost()
Get the non-authoritative name of the peer.int
peerPort()
Get the non-authoritative port of the peer.java.lang.String
sniHostname()
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
null
if unavailable (which may disablehostname verification
and 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
-1
if unavailable (which may prevent session resumption). - See Also:
SSLEngine.getPeerPort()
-
-