Class SSLCapabilities

java.lang.Object
com.oracle.util.ssl.SSLCapabilities

public abstract class SSLCapabilities extends Object
Encapsulates the security capabilities of an SSL/TLS connection.

The security capabilities are the list of ciphersuites to be accepted in an SSL/TLS handshake, the record version, the hello version, and server name indication, etc., of an SSL/TLS connection.

SSLCapabilities can be retrieved by exploring the network data of an SSL/TLS connection via SSLExplorer.explore(ByteBuffer) or SSLExplorer.explore(byte[], int, int).

See Also:
  • Constructor Details

    • SSLCapabilities

      public SSLCapabilities()
  • Method Details

    • getRecordVersion

      public abstract String getRecordVersion()
      Returns the record version of an SSL/TLS connection
      Returns:
      a non-null record version
    • getHelloVersion

      public abstract String getHelloVersion()
      Returns the hello version of an SSL/TLS connection
      Returns:
      a non-null hello version
    • getServerNames

      public abstract List<SNIServerName> getServerNames()
      Returns a List containing all SNIServerNames of the server name indication.
      Returns:
      a non-null immutable list of SNIServerNames of the server name indication parameter, may be empty if no server name indication.
      See Also: