package tls
Convenience functions for building up a javax.net.ssl.SSLContext
needed to
create the javax.net.ssl.SSLEngine
used for SSL connections.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- tls
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class Cipher (name: String) extends Product with Serializable
Value Members
-
def
client(ssl: () ⇒ SSLEngine): () ⇒ SSLEngine
Modify the given provider to set client mode on the
SSLEngine
. - def default: () ⇒ SSLEngine
-
def
enableCiphers(ciphers: Cipher*)(ssl: () ⇒ SSLEngine): () ⇒ SSLEngine
Modify the given provider to enable the given cipher suites.
-
def
fromContext(ctx: SSLContext): () ⇒ SSLEngine
Create an
SSLEngine
provider from anSSLContext
. -
def
server(ssl: () ⇒ SSLEngine, authenticateClient: Boolean = false): () ⇒ SSLEngine
Modify the given provider to set server mode on the
SSLEngine
, and optionally require authentication of the client. - object ciphers