Interface OpenSslSession

    • Method Detail

      • hasPeerCertificates

        boolean hasPeerCertificates()
        Returns true if the peer has provided certificates during the handshake.

        This method is similar to SSLSession.getPeerCertificates() but it does not throw a SSLPeerUnverifiedException if no certs are provided, making it more efficient to check if a mTLS connection is used.

        Returns:
        true if peer certificates are available.
      • getNamedGroup

        default String getNamedGroup()
        Returns the used named group or null if none was used or if it can't be determined.
        Returns:
        the named group