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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.collection.immutable.List<java.security.cert.Certificate>
localCertificates()
Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation.scala.Option<java.security.Principal>
localPrincipal()
Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.scala.collection.immutable.List<java.security.cert.Certificate>
peerCertificates()
Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation.scala.Option<java.security.Principal>
peerPrincipal()
Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.javax.net.ssl.SSLSession
session()
The underlyingSSLSession
.
-
-
-
Method Detail
-
session
javax.net.ssl.SSLSession session()
The underlyingSSLSession
.
-
localCertificates
scala.collection.immutable.List<java.security.cert.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<java.security.Principal> localPrincipal()
Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.
-
peerCertificates
scala.collection.immutable.List<java.security.cert.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<java.security.Principal> peerPrincipal()
Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.
-
-