Interface SslInfo


public interface SslInfo
A holder for SSL session information.
Since:
5.0.2
Author:
Rossen Stoyanchev, Sam Brannen
See Also:
  • Method Details

    • getSessionId

      @Nullable String getSessionId()
      Return the SSL session ID, if any.
    • getPeerCertificates

      X509Certificate @Nullable [] getPeerCertificates()
      Return SSL certificates associated with the request, if any.
    • from

      static SslInfo from(String sessionId)
      Create SslInfo configured with the supplied session ID.
      Since:
      7.0
    • from

      static SslInfo from(String sessionId, X509Certificate... peerCertificates)
      Create SslInfo configured with the supplied session ID and certificates.
      Since:
      7.0