Enum Class ECCurve

java.lang.Object
java.lang.Enum<ECCurve>
org.keycloak.crypto.ECCurve
All Implemented Interfaces:
Serializable, Comparable<ECCurve>, Constable

public enum ECCurve extends Enum<ECCurve>
  • Enum Constant Details

    • P256

      public static final ECCurve P256
    • P384

      public static final ECCurve P384
    • P521

      public static final ECCurve P521
  • Method Details

    • values

      public static ECCurve[] 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 ECCurve 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
    • fromStdCrv

      public static ECCurve fromStdCrv(String crv)
      Convert standard EC curve names (and aliases) into this enum.