Enum Class SslVersion

java.lang.Object
java.lang.Enum<SslVersion>
com.teamdev.jxbrowser.net.SslVersion
All Implemented Interfaces:
Serializable, Comparable<SslVersion>, Constable

public enum SslVersion extends Enum<SslVersion>
The list of supported SSL connection versions.
  • Enum Constant Details

    • UNKNOWN

      public static final SslVersion UNKNOWN
      The SSL version is unknown.
    • SSL_VERSION_SSL2

      public static final SslVersion SSL_VERSION_SSL2
    • SSL_VERSION_SSL3

      public static final SslVersion SSL_VERSION_SSL3
    • SSL_VERSION_TLS1

      public static final SslVersion SSL_VERSION_TLS1
    • SSL_VERSION_TLS1_1

      public static final SslVersion SSL_VERSION_TLS1_1
    • SSL_VERSION_TLS1_2

      public static final SslVersion SSL_VERSION_TLS1_2
    • SSL_VERSION_TLS1_3

      public static final SslVersion SSL_VERSION_TLS1_3
    • SSL_VERSION_QUIC

      public static final SslVersion SSL_VERSION_QUIC
  • Method Details

    • values

      public static SslVersion[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SslVersion valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null