Package tss.tpm

Class TPM2B_TIMEOUT

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPM2B_TIMEOUT
    extends TpmStructure
    This TPM-dependent structure is used to provide the timeout value for an authorization. The size shall be 8 or less.
    • Field Detail

      • buffer

        public byte[] buffer
        The timeout value
    • Constructor Detail

      • TPM2B_TIMEOUT

        public TPM2B_TIMEOUT()
      • TPM2B_TIMEOUT

        public TPM2B_TIMEOUT​(byte[] _buffer)
        Parameters:
        _buffer - The timeout value
    • Method Detail

      • toTpm

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

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

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