package client
- Alphabetic
- Public
- Protected
Type Members
- case class SslClientConfiguration(hostname: Option[String] = None, sniHostName: Option[String] = None, keyCredentials: KeyCredentials = KeyCredentials.Unspecified, trustCredentials: TrustCredentials = TrustCredentials.Unspecified, cipherSuites: CipherSuites = CipherSuites.Unspecified, protocols: Protocols = Protocols.Unspecified, applicationProtocols: ApplicationProtocols = ApplicationProtocols.Unspecified, forceJdk: Boolean = false) extends Product with Serializable
SslClientConfiguration represents the collection of parameters that an engine factory should use to configure a TLS client Engine.
SslClientConfiguration represents the collection of parameters that an engine factory should use to configure a TLS client Engine.
- hostname
If specified, this value should match one of the names specified in the server's X.509 certificate.
- keyCredentials
The credentials used by the client engine to verify itself to a remote peer.
- trustCredentials
The credentials used by the client to validate a remote peer's credentials.
- cipherSuites
The cipher suites which should be used by a particular client engine.
- protocols
The protocols which should be enabled for use with a particular client engine.
- applicationProtocols
The ALPN or NPN protocols which should be supported by a particular client engine.
- forceJdk
when true, forces use of the JDK SslProvider. Note that until JDK 9, this does not work with H2. For this reason, it's false by default.
- abstract class SslClientEngineFactory extends AnyRef
Instances of this class provide a method to create Finagle Engines for use with TLS.
- abstract class SslClientSessionVerifier extends AnyRef
SslClientSessionVerifier represents an opportunity for a user or system to perform additional client-side verification checks against an address, configuration, or session.
SslClientSessionVerifier represents an opportunity for a user or system to perform additional client-side verification checks against an address, configuration, or session. The
apply
method of the verifier is called when anSSLSession
has been established. - final class SslContextClientEngineFactory extends SslClientEngineFactory
This class provides an ability to use an initialized supplied
javax.net.ssl.SSLContext
as the basis for creating Engines.
Value Members
- object JdkClientEngineFactory extends SslClientEngineFactory
This engine factory is a default JVM-based implementation, intended to provide coverage for a wide array of configurations.
- object SslClientEngineFactory
- object SslClientSessionVerifier