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&rsquo;s negotiation.
      scala.Option<java.security.Principal> localPrincipal()
      Scala API: Extract the Principal that was actually used by this engine during this session&rsquo;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&rsquo;s negotiation.
      scala.Option<java.security.Principal> peerPrincipal()
      Scala API: Extract the Principal that the peer engine presented during this session&rsquo;s negotiation.
      javax.net.ssl.SSLSession session()
      The underlying SSLSession.
    • Method Detail

      • session

        javax.net.ssl.SSLSession session()
        The underlying SSLSession.
      • 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&rsquo;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&rsquo;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&rsquo;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&rsquo;s negotiation.