Package tss.tpm

Enum TPM_PT_PCR._N

  • All Implemented Interfaces:
    Serializable, Comparable<TPM_PT_PCR._N>
    Enclosing class:
    TPM_PT_PCR

    public static enum TPM_PT_PCR._N
    extends Enum<TPM_PT_PCR._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 TPM_PT_PCR. qualifier.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      AUTH
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR is controlled by an authorization value This property is only present if the TPM supports authorization control of a PCR.
      DRTM_RESET
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR is reset by a D-RTM event These PCR are reset to -1 on TPM2_Startup() and reset to 0 on a _TPM_Hash_End event following a _TPM_Hash_Start event.
      EXTEND_L0
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 0 This property is only present if a locality other than 0 is implemented.
      EXTEND_L1
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 1 This property is only present if locality 1 is implemented.
      EXTEND_L2
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 2 This property is only present if localities 1 and 2 are implemented.
      EXTEND_L3
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 3 This property is only present if localities 1, 2, and 3 are implemented.
      EXTEND_L4
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 4 This property is only present if localities 1, 2, 3, and 4 are implemented.
      FIRST
      Bottom of the range of TPM_PT_PCR properties
      LAST
      Top of the range of TPM_PT_PCR properties of the implementation If the TPM receives a request for a PCR property with a value larger than this, the TPM will return a zero length list and set the moreData parameter to NO.
      NO_INCREMENT
      A SET bit in the TPMS_PCR_SELECT indicates that modifications to this PCR (reset or Extend) will not increment the pcrUpdateCounter
      POLICY
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR is controlled by policy This property is only present if the TPM supports policy control of a PCR.
      RESET_L0
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 0
      RESET_L1
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 1 This property is only present if locality 1 is implemented.
      RESET_L2
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 2 This property is only present if localities 1 and 2 are implemented.
      RESET_L3
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 3 This property is only present if localities 1, 2, and 3 are implemented.
      RESET_L4
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 4 This property is only present if localities 1, 2, 3, and 4 are implemented.
      SAVE
      A SET bit in the TPMS_PCR_SELECT indicates that the PCR is saved and restored by TPM_SU_STATE
    • Enum Constant Detail

      • FIRST

        public static final TPM_PT_PCR._N FIRST
        Bottom of the range of TPM_PT_PCR properties
      • SAVE

        public static final TPM_PT_PCR._N SAVE
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR is saved and restored by TPM_SU_STATE
      • EXTEND_L0

        public static final TPM_PT_PCR._N EXTEND_L0
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 0 This property is only present if a locality other than 0 is implemented.
      • RESET_L0

        public static final TPM_PT_PCR._N RESET_L0
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 0
      • EXTEND_L1

        public static final TPM_PT_PCR._N EXTEND_L1
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 1 This property is only present if locality 1 is implemented.
      • RESET_L1

        public static final TPM_PT_PCR._N RESET_L1
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 1 This property is only present if locality 1 is implemented.
      • EXTEND_L2

        public static final TPM_PT_PCR._N EXTEND_L2
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 2 This property is only present if localities 1 and 2 are implemented.
      • RESET_L2

        public static final TPM_PT_PCR._N RESET_L2
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 2 This property is only present if localities 1 and 2 are implemented.
      • EXTEND_L3

        public static final TPM_PT_PCR._N EXTEND_L3
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 3 This property is only present if localities 1, 2, and 3 are implemented.
      • RESET_L3

        public static final TPM_PT_PCR._N RESET_L3
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 3 This property is only present if localities 1, 2, and 3 are implemented.
      • EXTEND_L4

        public static final TPM_PT_PCR._N EXTEND_L4
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be extended from locality 4 This property is only present if localities 1, 2, 3, and 4 are implemented.
      • RESET_L4

        public static final TPM_PT_PCR._N RESET_L4
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR may be reset by TPM2_PCR_Reset() from locality 4 This property is only present if localities 1, 2, 3, and 4 are implemented.
      • NO_INCREMENT

        public static final TPM_PT_PCR._N NO_INCREMENT
        A SET bit in the TPMS_PCR_SELECT indicates that modifications to this PCR (reset or Extend) will not increment the pcrUpdateCounter
      • DRTM_RESET

        public static final TPM_PT_PCR._N DRTM_RESET
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR is reset by a D-RTM event These PCR are reset to -1 on TPM2_Startup() and reset to 0 on a _TPM_Hash_End event following a _TPM_Hash_Start event.
      • POLICY

        public static final TPM_PT_PCR._N POLICY
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR is controlled by policy This property is only present if the TPM supports policy control of a PCR.
      • AUTH

        public static final TPM_PT_PCR._N AUTH
        A SET bit in the TPMS_PCR_SELECT indicates that the PCR is controlled by an authorization value This property is only present if the TPM supports authorization control of a PCR.
      • LAST

        public static final TPM_PT_PCR._N LAST
        Top of the range of TPM_PT_PCR properties of the implementation If the TPM receives a request for a PCR property with a value larger than this, the TPM will return a zero length list and set the moreData parameter to NO. NOTE This is an implementation-specific value. The value shown reflects the reference code implementation.
    • Method Detail

      • values

        public static TPM_PT_PCR._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 (TPM_PT_PCR._N c : TPM_PT_PCR._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 TPM_PT_PCR._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 name
        NullPointerException - if the argument is null