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.
- 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.
- Alphabetic
- By Inheritance
- SslClientConfiguration
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new 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)
- 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.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val applicationProtocols: ApplicationProtocols
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val cipherSuites: CipherSuites
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- val forceJdk: Boolean
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val hostname: Option[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val keyCredentials: KeyCredentials
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val protocols: Protocols
- val sniHostName: Option[String]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val trustCredentials: TrustCredentials
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()