JdkSslContext

cc.otavia.handler.ssl.JdkSslContext
See theJdkSslContext companion object
abstract class JdkSslContext(val context: SSLContext, val isClient: Boolean, ciphers: Option[Seq[String]], cipherFilter: CipherSuiteFilter, val apn: JdkApplicationProtocolNegotiator, val clientAuth: ClientAuth, val pts: Array[String], startTls: Boolean) extends SslContext

Attributes

Companion
object
Graph
Supertypes
class SslContext
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def newEngine(): SSLEngine

Creates a new SSLEngine.

Creates a new SSLEngine.

Attributes

Definition Classes
override def newEngine(peerHost: String, peerPort: Int): SSLEngine

Creates a new SSLEngine.

Creates a new SSLEngine.

Value parameters

peerHost

the non-authoritative name of the host

peerPort

the non-authoritative port

Attributes

Returns

a new SSLEngine

Definition Classes
override def sessionContext: SSLSessionContext

Returns the JDK SSLSessionContext object held by this context.

Returns the JDK SSLSessionContext object held by this context.

Attributes

Definition Classes

Inherited methods

def isServer: Boolean

Returns true if and only if this context is for server-side.

Returns true if and only if this context is for server-side.

Attributes

Inherited from:
SslContext
def newHandler(peerHost: String, peerPort: Int): SslHandler

Create a new SslHandler.

Create a new SslHandler.

Attributes

Inherited from:
SslContext
final def newHandler(): SslHandler

Create a new SslHandler.

Create a new SslHandler.

Attributes

Inherited from:
SslContext
def sessionCacheSize: Long

Returns the size of the cache used for storing SSL session objects.

Returns the size of the cache used for storing SSL session objects.

Attributes

Inherited from:
SslContext
def sessionTimeout: Long

Returns the timeout for the cached SSL session objects, in seconds.

Returns the timeout for the cached SSL session objects, in seconds.

Attributes

Inherited from:
SslContext

Concrete fields

val cipherSuites: List[String]

Returns the list of enabled cipher suites, in the order of preference.

Returns the list of enabled cipher suites, in the order of preference.

Attributes

val context: SSLContext
val isClient: Boolean

Returns the true if and only if this context is for client-side.

Returns the true if and only if this context is for client-side.

Attributes

val pts: Array[String]