SimpleSSLContextBuilder

class SimpleSSLContextBuilder(protocol: String, keyManagers: Seq[KeyManager], trustManagers: Seq[TrustManager], secureRandom: Option[SecureRandom]) extends SSLContextBuilder

A simple SSL context builder. If the keyManagers or trustManagers are empty, then null is used in the init method. Likewise, if secureRandom is None then null is used.

class Object
trait Matchable
class Any

Value members

Concrete methods

def build(): SSLContext

Builds the appropriate SSL context manager.

Builds the appropriate SSL context manager.

Returns

a configured SSL context.

def nullIfEmpty[T](array: Array[T]): Array[T]