Package tss.tpm

Class TPMS_COMMAND_AUDIT_INFO

    • Field Detail

      • auditCounter

        public long auditCounter
        The monotonic audit counter
      • digestAlg

        public TPM_ALG_ID digestAlg
        Hash algorithm used for the command audit
      • auditDigest

        public byte[] auditDigest
        The current value of the audit digest
      • commandDigest

        public byte[] commandDigest
        Digest of the command codes being audited using digestAlg
    • Constructor Detail

      • TPMS_COMMAND_AUDIT_INFO

        public TPMS_COMMAND_AUDIT_INFO()
      • TPMS_COMMAND_AUDIT_INFO

        public TPMS_COMMAND_AUDIT_INFO​(long _auditCounter,
                                       TPM_ALG_ID _digestAlg,
                                       byte[] _auditDigest,
                                       byte[] _commandDigest)
        Parameters:
        _auditCounter - The monotonic audit counter
        _digestAlg - Hash algorithm used for the command audit
        _auditDigest - The current value of the audit digest
        _commandDigest - Digest of the command codes being audited using digestAlg
    • Method Detail

      • toTpm

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

        public static TPMS_COMMAND_AUDIT_INFO 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_COMMAND_AUDIT_INFO 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_COMMAND_AUDIT_INFO 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