Package tss.tpm
Class TPMT_TK_VERIFIED
- java.lang.Object
-
- tss.TpmStructure
-
- tss.tpm.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 Summary
Fields Modifier and Type Field Description byte[]
digest
This shall be the HMAC produced using a proof value of hierarchy.TPM_HANDLE
hierarchy
The hierarchy containing keyName
-
Constructor Summary
Constructors Constructor Description TPMT_TK_VERIFIED()
TPMT_TK_VERIFIED(TPM_HANDLE _hierarchy, byte[] _digest)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static TPMT_TK_VERIFIED
fromBytes(byte[] byteBuf)
Static marshaling helperstatic TPMT_TK_VERIFIED
fromTpm(byte[] byteBuf)
Deprecated.UsefromBytes(byte[])
insteadstatic TPMT_TK_VERIFIED
fromTpm(TpmBuffer buf)
Static marshaling helpervoid
initFromTpm(TpmBuffer buf)
TpmMarshaller methodString
toString()
void
toStringInternal(TpmStructurePrinter _p, int d)
Serialize this object to the structure printerbyte[]
toTpm()
Deprecated.UseTpmStructure.toBytes()
insteadvoid
toTpm(TpmBuffer buf)
TpmMarshaller method-
Methods inherited from class tss.TpmStructure
equals, hashCode, toBytes
-
-
-
-
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 void toTpm(TpmBuffer buf)
TpmMarshaller method- Specified by:
toTpm
in interfaceTpmMarshaller
- Overrides:
toTpm
in classTpmStructure
- Parameters:
buf
- An output byte buffer
-
initFromTpm
public void initFromTpm(TpmBuffer buf)
TpmMarshaller method- Specified by:
initFromTpm
in interfaceTpmMarshaller
- Overrides:
initFromTpm
in classTpmStructure
- Parameters:
buf
- An input byte buffer
-
toTpm
public byte[] toTpm()
Deprecated.UseTpmStructure.toBytes()
instead- 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.UsefromBytes(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 classTpmStructure
- Parameters:
_p
- The structure accumulatord
- The data to serialize
-
-