Package io.servicetalk.transport.api
Interface ClientSslConfig
- All Superinterfaces:
SslConfig
- All Known Implementing Classes:
DelegatingClientSslConfig
Specifies the configuration for client side TLS/SSL.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.servicetalk.transport.api.SslConfig
SslConfig.CipherSuiteFilter
-
Method Summary
Modifier and TypeMethodDescriptionGet the algorithm to use for hostname verification to verify the server identity.peerHost()
Get the non-authoritative name of the peer.int
peerPort()
Get the non-authoritative port of the peer.Get the SNI host name.Methods inherited from interface io.servicetalk.transport.api.SslConfig
alpnProtocols, certificateCompressionAlgorithms, ciphers, cipherSuiteFilter, handshakeTimeout, keyCertChainSupplier, keyManagerFactory, keyPassword, keySupplier, maxCertificateListBytes, provider, sessionCacheSize, sessionTimeout, sslProtocols, trustCertChainSupplier, trustManagerFactory
-
Method Details
-
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:
-
peerHost
Get the non-authoritative name of the peer.- Returns:
- the non-authoritative name of the peer, or
null
if unavailable (which may require disablinghostname verification
, and may disable session resumption). - See Also:
-
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:
-
sniHostname
Get the SNI host name.- Returns:
- The SNI host name, or
null
to not enable SNI. - See Also:
-