Enum Class ChannelBindingType

java.lang.Object
java.lang.Enum<ChannelBindingType>
org.jivesoftware.util.channelbinding.ChannelBindingType
All Implemented Interfaces:
Serializable, Comparable<ChannelBindingType>, Constable

public enum ChannelBindingType extends Enum<ChannelBindingType>
Enumerates supported channel binding types.
See Also:
  • Enum Constant Details

    • TLS_EXPORTER

      public static final ChannelBindingType TLS_EXPORTER
      tls-exporter: TLS exporter-based channel binding (RFC 5705, RFC 9266).
    • TLS_SERVER_END_POINT

      public static final ChannelBindingType TLS_SERVER_END_POINT
      tls-server-end-point: server certificate hash channel binding (RFC 5929).
    • TLS_UNIQUE

      public static final ChannelBindingType TLS_UNIQUE
      tls-unique: TLS Finished message channel binding (RFC 5929, deprecated).
  • Method Details

    • values

      public static ChannelBindingType[] 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 ChannelBindingType 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
    • getPrefix

      public String getPrefix()