Enum Class TPMEccCurve

java.lang.Object
java.lang.Enum<TPMEccCurve>
com.webauthn4j.data.attestation.statement.TPMEccCurve
All Implemented Interfaces:
Serializable, Comparable<TPMEccCurve>, Constable

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

    • TPM_ECC_NONE

      public static final TPMEccCurve TPM_ECC_NONE
    • TPM_ECC_NIST_P192

      public static final TPMEccCurve TPM_ECC_NIST_P192
    • TPM_ECC_NIST_P224

      public static final TPMEccCurve TPM_ECC_NIST_P224
    • TPM_ECC_NIST_P256

      public static final TPMEccCurve TPM_ECC_NIST_P256
    • TPM_ECC_NIST_P384

      public static final TPMEccCurve TPM_ECC_NIST_P384
    • TPM_ECC_NIST_P521

      public static final TPMEccCurve TPM_ECC_NIST_P521
    • TPM_ECC_BN_P256

      public static final TPMEccCurve TPM_ECC_BN_P256
    • TPM_ECC_BN_P638

      public static final TPMEccCurve TPM_ECC_BN_P638
    • TPM_ECC_SM2_P256

      public static final TPMEccCurve TPM_ECC_SM2_P256
  • Method Details

    • values

      public static TPMEccCurve[] 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 TPMEccCurve 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
    • create

      @NotNull public static @NotNull TPMEccCurve create(int value)
    • create

      @NotNull public static @NotNull TPMEccCurve create(@NotNull @NotNull EllipticCurve value)
    • getBytes

      @NotNull public @org.jetbrains.annotations.NotNull byte[] getBytes()
    • getValue

      public int getValue()
    • getEllipticCurve

      @NotNull public @NotNull EllipticCurve getEllipticCurve()