Enum SSLProtocol

java.lang.Object
java.lang.Enum<SSLProtocol>
org.robovm.apple.security.SSLProtocol
All Implemented Interfaces:
Serializable, Comparable<SSLProtocol>, ValuedEnum

public enum SSLProtocol
extends Enum<SSLProtocol>
implements ValuedEnum
  • Enum Constant Details

    • SSLProtocolUnknown

      @Deprecated public static final SSLProtocol SSLProtocolUnknown
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocol1

      @Deprecated public static final SSLProtocol TLSProtocol1
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocol11

      @Deprecated public static final SSLProtocol TLSProtocol11
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocol12

      @Deprecated public static final SSLProtocol TLSProtocol12
      Deprecated.
      Deprecated in iOS 13.0.
    • DTLSProtocol1

      @Deprecated public static final SSLProtocol DTLSProtocol1
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocol13

      @Deprecated public static final SSLProtocol TLSProtocol13
      Deprecated.
      Deprecated in iOS 13.0.
    • DTLSProtocol12

      @Deprecated public static final SSLProtocol DTLSProtocol12
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocolMaxSupported

      @Deprecated public static final SSLProtocol TLSProtocolMaxSupported
      Deprecated.
      Deprecated in iOS 13.0.
    • SSLProtocol2

      @Deprecated public static final SSLProtocol SSLProtocol2
      Deprecated.
      Deprecated in iOS 13.0.
    • SSLProtocol3

      @Deprecated public static final SSLProtocol SSLProtocol3
      Deprecated.
      Deprecated in iOS 13.0.
    • SSLProtocol3Only

      @Deprecated public static final SSLProtocol SSLProtocol3Only
      Deprecated.
      Deprecated in iOS 13.0.
    • TLSProtocol1Only

      @Deprecated public static final SSLProtocol TLSProtocol1Only
      Deprecated.
      Deprecated in iOS 13.0.
    • SSLProtocolAll

      @Deprecated public static final SSLProtocol SSLProtocolAll
      Deprecated.
      Deprecated in iOS 13.0.
  • Method Details

    • values

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

      public static SSLProtocol valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

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