Package tss.tpm

Class TPMT_TK_VERIFIED

  • All Implemented Interfaces:
    TpmMarshaller

    public class TPMT_TK_VERIFIED
    extends TpmStructure
    This ticket is produced by TPM2_VerifySignature(). This formulation is used for multiple ticket uses. The ticket provides evidence that the TPM has validated that a digest was signed by a key with the Name of keyName. The ticket is computed by
    • Field Detail

      • hierarchy

        public TPM_HANDLE hierarchy
        The hierarchy containing keyName
      • digest

        public byte[] digest
        This shall be the HMAC produced using a proof value of hierarchy.
    • Constructor Detail

      • TPMT_TK_VERIFIED

        public TPMT_TK_VERIFIED()
      • TPMT_TK_VERIFIED

        public TPMT_TK_VERIFIED​(TPM_HANDLE _hierarchy,
                                byte[] _digest)
        Parameters:
        _hierarchy - The hierarchy containing keyName
        _digest - This shall be the HMAC produced using a proof value of hierarchy.
    • Method Detail

      • toTpm

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

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

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