Enum Constant and Description |
---|
Host
The host TPM is passed through, might not be available on all host platforms.
|
None
No TPM present in the virtual machine.
|
Swtpm
The VM will attach to an external software TPM emulation compliant to swtpm.
|
v1_2
A TPM compliant to the 1.2 TCG specification is emulated.
|
v2_0
A TPM compliant to the 2.0 TCG specification is emulated.
|
Modifier and Type | Method and Description |
---|---|
static TpmType |
fromValue(long v) |
static TpmType |
fromValue(java.lang.String v) |
int |
value() |
static TpmType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TpmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TpmType None
public static final TpmType v1_2
public static final TpmType v2_0
public static final TpmType Host
public static final TpmType Swtpm
public static TpmType[] values()
for (TpmType c : TpmType.values()) System.out.println(c);
public static TpmType 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 int value()
public static TpmType fromValue(long v)
public static TpmType fromValue(java.lang.String v)