Package tss.tpm

Class TPMS_AC_OUTPUT

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPMS_AC_OUTPUT
    extends TpmStructure
    TPMS_AC_OUTPUT is used to return information about an AC. The tag structure parameter indicates the type of the data value.
    • Field Detail

      • tag

        public TPM_AT tag
        Tag indicating the contents of data
      • data

        public int data
        The data returned from the AC
    • Constructor Detail

      • TPMS_AC_OUTPUT

        public TPMS_AC_OUTPUT()
      • TPMS_AC_OUTPUT

        public TPMS_AC_OUTPUT​(TPM_AT _tag,
                              int _data)
        Parameters:
        _tag - Tag indicating the contents of data
        _data - The data returned from the AC
    • Method Detail

      • toTpm

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

        public static TPMS_AC_OUTPUT 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_AC_OUTPUT 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_AC_OUTPUT 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