Package org.apache.pekko.stream.scaladsl
Interface ScalaSessionAPI
- All Known Implementing Classes:
TLSProtocol.SessionBytes
public interface ScalaSessionAPI
Allows access to an SSLSession with Scala types
-
Method Summary
Modifier and TypeMethodDescriptionscala.collection.immutable.List<Certificate>Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation.scala.Option<Principal>Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.scala.collection.immutable.List<Certificate>Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation.scala.Option<Principal>Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.session()The underlyingSSLSession.
-
Method Details
-
session
SSLSession session()The underlyingSSLSession. -
localCertificates
scala.collection.immutable.List<Certificate> localCertificates()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. -
localPrincipal
scala.Option<Principal> localPrincipal()Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation. -
peerCertificates
scala.collection.immutable.List<Certificate> peerCertificates()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. -
peerPrincipal
scala.Option<Principal> peerPrincipal()Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.
-