public enum TPMEccCurve extends java.lang.Enum<TPMEccCurve>
| Enum Constant and Description |
|---|
TPM_ECC_BN_P256 |
TPM_ECC_BN_P638 |
TPM_ECC_NIST_P192 |
TPM_ECC_NIST_P224 |
TPM_ECC_NIST_P256 |
TPM_ECC_NIST_P384 |
TPM_ECC_NIST_P521 |
TPM_ECC_NONE |
TPM_ECC_SM2_P256 |
| Modifier and Type | Method and Description |
|---|---|
static TPMEccCurve |
create(java.security.spec.EllipticCurve value) |
static TPMEccCurve |
create(int value) |
byte[] |
getBytes() |
java.security.spec.EllipticCurve |
getEllipticCurve() |
int |
getValue() |
static TPMEccCurve |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TPMEccCurve[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TPMEccCurve TPM_ECC_NONE
public static final TPMEccCurve TPM_ECC_NIST_P192
public static final TPMEccCurve TPM_ECC_NIST_P224
public static final TPMEccCurve TPM_ECC_NIST_P256
public static final TPMEccCurve TPM_ECC_NIST_P384
public static final TPMEccCurve TPM_ECC_NIST_P521
public static final TPMEccCurve TPM_ECC_BN_P256
public static final TPMEccCurve TPM_ECC_BN_P638
public static final TPMEccCurve TPM_ECC_SM2_P256
public static TPMEccCurve[] values()
for (TPMEccCurve c : TPMEccCurve.values()) System.out.println(c);
public static TPMEccCurve valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TPMEccCurve create(int value)
public static TPMEccCurve create(java.security.spec.EllipticCurve value)
public byte[] getBytes()
public int getValue()
public java.security.spec.EllipticCurve getEllipticCurve()