Package tss.tpm

Class TPM_CAP

  • All Implemented Interfaces:
    TpmMarshaller

    public final class TPM_CAP
    extends TpmEnum<TPM_CAP>
    The TPM_CAP values are used in TPM2_GetCapability() to select the type of the value to be returned. The format of the response varies according to the type of the value.
    • Field Detail

      • FIRST

        public static final TPM_CAP FIRST
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • ALGS

        public static final TPM_CAP ALGS
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • HANDLES

        public static final TPM_CAP HANDLES
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • COMMANDS

        public static final TPM_CAP COMMANDS
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • PP_COMMANDS

        public static final TPM_CAP PP_COMMANDS
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • AUDIT_COMMANDS

        public static final TPM_CAP AUDIT_COMMANDS
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • PCRS

        public static final TPM_CAP PCRS
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • TPM_PROPERTIES

        public static final TPM_CAP TPM_PROPERTIES
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • PCR_PROPERTIES

        public static final TPM_CAP PCR_PROPERTIES
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • ECC_CURVES

        public static final TPM_CAP ECC_CURVES
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • AUTH_POLICIES

        public static final TPM_CAP AUTH_POLICIES
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • ACT

        public static final TPM_CAP ACT
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • LAST

        public static final TPM_CAP LAST
        These definitions provide mapping of the Java enum constants to their TPM integer values
      • VENDOR_PROPERTY

        public static final TPM_CAP VENDOR_PROPERTY
        These definitions provide mapping of the Java enum constants to their TPM integer values
    • Constructor Detail

      • TPM_CAP

        public TPM_CAP()
      • TPM_CAP

        public TPM_CAP​(int value)
    • Method Detail

      • fromInt

        public static TPM_CAP fromInt​(int value)
      • fromTpm

        public static TPM_CAP fromTpm​(byte[] buf)
      • wireSize

        protected int wireSize()
        Specified by:
        wireSize in class TpmEnum<TPM_CAP>
        Returns:
        The size of the enumeration value used to marshal it to the TPM representation