ScalaSessionAPI

org.apache.pekko.stream.scaladsl.ScalaSessionAPI
See theScalaSessionAPI companion object

Allows access to an SSLSession with Scala types

Attributes

Companion
object
Source
TLS.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SessionBytes

Members list

Value members

Abstract methods

def session: SSLSession

The underlying javax.net.ssl.SSLSession.

The underlying javax.net.ssl.SSLSession.

Attributes

Source
TLS.scala

Concrete methods

def localCertificates: List[Certificate]

Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation. The list is empty if no certificates were used.

Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation. The list is empty if no certificates were used.

Attributes

Source
TLS.scala
def localPrincipal: Option[Principal]

Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.

Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.

Attributes

Source
TLS.scala
def peerCertificates: List[Certificate]

Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation. The list is empty if no certificates were used.

Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation. The list is empty if no certificates were used.

Attributes

Source
TLS.scala
def peerPrincipal: Option[Principal]

Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.

Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.

Attributes

Source
TLS.scala