Package org.apache.pekko.stream.scaladsl
Interface ScalaSessionAPI
- 
- All Known Implementing Classes:
- TLSProtocol.SessionBytes
 
 public interface ScalaSessionAPIAllows access to an SSLSession with Scala types
- 
- 
Method SummaryAll 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.SSLSessionsession()The underlyingSSLSession.
 
- 
- 
- 
Method Detail- 
sessionjavax.net.ssl.SSLSession session() The underlyingSSLSession.
 - 
localCertificatesscala.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.
 - 
localPrincipalscala.Option<java.security.Principal> localPrincipal() Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.
 - 
peerCertificatesscala.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.
 - 
peerPrincipalscala.Option<java.security.Principal> peerPrincipal() Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.
 
- 
 
-