Interface ScalaSessionAPI

All Known Implementing Classes:
TLSProtocol.SessionBytes

public interface ScalaSessionAPI
Allows access to an SSLSession with Scala types
  • Method Summary

    Modifier and Type
    Method
    Description
    scala.collection.immutable.List<Certificate>
    Scala API: Extract the certificates that were actually used by this engine during this session&rsquo;s negotiation.
    scala.Option<Principal>
    Scala API: Extract the Principal that was actually used by this engine during this session&rsquo;s negotiation.
    scala.collection.immutable.List<Certificate>
    Scala API: Extract the certificates that were used by the peer engine during this session&rsquo;s negotiation.
    scala.Option<Principal>
    Scala API: Extract the Principal that the peer engine presented during this session&rsquo;s negotiation.
    The underlying SSLSession.
  • Method Details

    • session

      SSLSession session()
      The underlying SSLSession.
    • localCertificates

      scala.collection.immutable.List<Certificate> localCertificates()
      Scala API: Extract the certificates that were actually used by this engine during this session&rsquo;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&rsquo;s negotiation.
    • peerCertificates

      scala.collection.immutable.List<Certificate> peerCertificates()
      Scala API: Extract the certificates that were used by the peer engine during this session&rsquo;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&rsquo;s negotiation.