Package tss.tpm

Class TPMS_PCR_SELECT

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPMS_PCR_SELECT
    extends TpmStructure
    This structure provides a standard method of specifying a list of PCR.
    • Field Detail

      • pcrSelect

        public byte[] pcrSelect
        The bit map of selected PCR
    • Constructor Detail

      • TPMS_PCR_SELECT

        public TPMS_PCR_SELECT()
      • TPMS_PCR_SELECT

        public TPMS_PCR_SELECT​(byte[] _pcrSelect)
        Parameters:
        _pcrSelect - The bit map of selected PCR
    • Method Detail

      • toTpm

        public byte[] toTpm()
        Deprecated.
        Returns:
        Wire (marshaled) representation of this object
      • fromBytes

        public static TPMS_PCR_SELECT fromBytes​(byte[] byteBuf)
        Static marshaling helper
        Parameters:
        byteBuf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • fromTpm

        public static TPMS_PCR_SELECT fromTpm​(byte[] byteBuf)
        Deprecated.
        Use fromBytes(byte[]) instead
        Parameters:
        byteBuf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • fromTpm

        public static TPMS_PCR_SELECT fromTpm​(TpmBuffer buf)
        Static marshaling helper
        Parameters:
        buf - Wire representation of the object
        Returns:
        New object constructed from its wire representation
      • toStringInternal

        public void toStringInternal​(TpmStructurePrinter _p,
                                     int d)
        Description copied from class: TpmStructure
        Serialize this object to the structure printer
        Overrides:
        toStringInternal in class TpmStructure
        Parameters:
        _p - The structure accumulator
        d - The data to serialize