public enum TPMIAlgHash extends java.lang.Enum<TPMIAlgHash>
Enum Constant and Description |
---|
TPM_ALG_ERROR |
TPM_ALG_NULL |
TPM_ALG_SHA1 |
TPM_ALG_SHA256 |
TPM_ALG_SHA384 |
TPM_ALG_SHA512 |
Modifier and Type | Method and Description |
---|---|
static TPMIAlgHash |
create(int value) |
int |
getValue() |
static TPMIAlgHash |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TPMIAlgHash[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TPMIAlgHash TPM_ALG_ERROR
public static final TPMIAlgHash TPM_ALG_SHA1
public static final TPMIAlgHash TPM_ALG_SHA256
public static final TPMIAlgHash TPM_ALG_SHA384
public static final TPMIAlgHash TPM_ALG_SHA512
public static final TPMIAlgHash TPM_ALG_NULL
public static TPMIAlgHash[] values()
for (TPMIAlgHash c : TPMIAlgHash.values()) System.out.println(c);
public static TPMIAlgHash 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 TPMIAlgHash create(int value)
public int getValue()