Class KeyCurveName

java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyCurveName>
com.azure.security.keyvault.keys.models.KeyCurveName
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class KeyCurveName extends com.azure.core.util.ExpandableStringEnum<KeyCurveName>
Elliptic curve name.
  • Field Details

    • P_256

      public static final KeyCurveName P_256
      The NIST P-256 elliptic curve, AKA SECG curve SECP256R1.
    • P_384

      public static final KeyCurveName P_384
      The NIST P-384 elliptic curve, AKA SECG curve SECP384R1.
    • P_521

      public static final KeyCurveName P_521
      The NIST P-521 elliptic curve, AKA SECG curve SECP521R1.
    • P_256K

      public static final KeyCurveName P_256K
      The SECG SECP256K1 elliptic curve.
  • Constructor Details

    • KeyCurveName

      @Deprecated public KeyCurveName()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of KeyCurveName value.
  • Method Details

    • fromString

      public static KeyCurveName fromString(String name)
      Creates or finds a KeyCurveName from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding KeyCurveName.
    • values

      public static Collection<KeyCurveName> values()
      Gets known KeyCurveName values.
      Returns:
      known KeyCurveName values.