Package tss.tpm
Enum TPMA_MEMORY._N
- java.lang.Object
-
- java.lang.Enum<TPMA_MEMORY._N>
-
- tss.tpm.TPMA_MEMORY._N
-
- All Implemented Interfaces:
Serializable
,Comparable<TPMA_MEMORY._N>
- Enclosing class:
- TPMA_MEMORY
public static enum TPMA_MEMORY._N extends Enum<TPMA_MEMORY._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. However, their Java names are identical to those of the constants defined in this class further below, so for any other usage just prepend them with the TPMA_MEMORY. qualifier.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description objectCopiedToRam
SET (1): indicates that the TPM copies persistent objects to a transient-object slot in RAM when the persistent object is referenced in a command.sharedNV
SET (1): indicates that the NV memory used for persistent objects is shared with the NV memory used for NV Index values CLEAR (0): indicates that the persistent objects and NV Index values are allocated from separate sections of NVsharedRAM
SET (1): indicates that the RAM memory used for authorization session contexts is shared with the memory used for transient objects CLEAR (0): indicates that the memory used for authorization sessions is not shared with memory used for transient objects
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TPMA_MEMORY._N
valueOf(String name)
Returns the enum constant of this type with the specified name.static TPMA_MEMORY._N[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
sharedRAM
public static final TPMA_MEMORY._N sharedRAM
SET (1): indicates that the RAM memory used for authorization session contexts is shared with the memory used for transient objects CLEAR (0): indicates that the memory used for authorization sessions is not shared with memory used for transient objects
-
sharedNV
public static final TPMA_MEMORY._N sharedNV
SET (1): indicates that the NV memory used for persistent objects is shared with the NV memory used for NV Index values CLEAR (0): indicates that the persistent objects and NV Index values are allocated from separate sections of NV
-
objectCopiedToRam
public static final TPMA_MEMORY._N objectCopiedToRam
SET (1): indicates that the TPM copies persistent objects to a transient-object slot in RAM when the persistent object is referenced in a command. The TRM is required to make sure that an object slot is available. CLEAR (0): indicates that the TPM does not use transient-object slots when persistent objects are referenced
-
-
Method Detail
-
values
public static TPMA_MEMORY._N[] 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 (TPMA_MEMORY._N c : TPMA_MEMORY._N.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TPMA_MEMORY._N valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-