org.virtualbox_7_0
Enum TpmType

java.lang.Object
  extended by java.lang.Enum<TpmType>
      extended by org.virtualbox_7_0.TpmType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TpmType>

public enum TpmType
extends java.lang.Enum<TpmType>

TPM type enumeration. Interface ID: {C669B9F7-A547-42B6-8464-636AA53401EB}


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final TpmType None
No TPM present in the virtual machine.


v1_2

public static final TpmType v1_2
A TPM compliant to the 1.2 TCG specification is emulated.


v2_0

public static final TpmType v2_0
A TPM compliant to the 2.0 TCG specification is emulated.


Host

public static final TpmType Host
The host TPM is passed through, might not be available on all host platforms.


Swtpm

public static final TpmType Swtpm
The VM will attach to an external software TPM emulation compliant to swtpm.

Method Detail

values

public static TpmType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TpmType c : TpmType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TpmType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static TpmType fromValue(long v)

fromValue

public static TpmType fromValue(java.lang.String v)