Package tss.tpm
Class TPM_GENERATED
- java.lang.Object
-
- tss.TpmEnum<TPM_GENERATED>
-
- tss.tpm.TPM_GENERATED
-
- All Implemented Interfaces:
TpmMarshaller
public final class TPM_GENERATED extends TpmEnum<TPM_GENERATED>
This constant value differentiates TPM-generated structures from non-TPM structures.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TPM_GENERATED._N
Values from enum _N are only intended to be used in case labels of a switch statement using the result of this.asEnum() method as the switch condition.-
Nested classes/interfaces inherited from class tss.TpmEnum
TpmEnum.ValueMap<T extends TpmEnum<T>>
-
-
Field Summary
Fields Modifier and Type Field Description static TPM_GENERATED
VALUE
These definitions provide mapping of the Java enum constants to their TPM integer values-
Fields inherited from class tss.TpmEnum
Name, NameAsEnum, Value
-
-
Constructor Summary
Constructors Constructor Description TPM_GENERATED()
TPM_GENERATED(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TPM_GENERATED._N
asEnum()
static TPM_GENERATED
fromInt(int value)
static TPM_GENERATED
fromTpm(byte[] buf)
static TPM_GENERATED
fromTpm(TpmBuffer buf)
static Collection<TPM_GENERATED>
values()
protected int
wireSize()
-
-
-
Field Detail
-
VALUE
public static final TPM_GENERATED VALUE
These definitions provide mapping of the Java enum constants to their TPM integer values
-
-
Method Detail
-
fromInt
public static TPM_GENERATED fromInt(int value)
-
fromTpm
public static TPM_GENERATED fromTpm(byte[] buf)
-
fromTpm
public static TPM_GENERATED fromTpm(TpmBuffer buf)
-
asEnum
public TPM_GENERATED._N asEnum()
-
values
public static Collection<TPM_GENERATED> values()
-
wireSize
protected int wireSize()
- Specified by:
wireSize
in classTpmEnum<TPM_GENERATED>
- Returns:
- The size of the enumeration value used to marshal it to the TPM representation
-
-