Package tss.tpm

Class PCR_ReadResponse

  • All Implemented Interfaces:
    TpmMarshaller

    public class PCR_ReadResponse
    extends RespStructure
    This command returns the values of all PCR specified in pcrSelectionIn.
    • Field Detail

      • pcrUpdateCounter

        public int pcrUpdateCounter
        The current value of the PCR update counter
      • pcrSelectionOut

        public TPMS_PCR_SELECTION[] pcrSelectionOut
        The PCR in the returned list
      • pcrValues

        public TPM2B_DIGEST[] pcrValues
        The contents of the PCR indicated in pcrSelectOut-˃ pcrSelection[] as tagged digests
    • Constructor Detail

      • PCR_ReadResponse

        public PCR_ReadResponse()
    • Method Detail

      • toTpm

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

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

        public static PCR_ReadResponse 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 PCR_ReadResponse 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