public class TPMS_ATTEST extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMU_ATTEST |
attested
the type-specific attestation information
|
TPMS_CLOCK_INFO |
clockInfo
Clock, resetCount, restartCount, and Safe
|
byte[] |
extraData
external information supplied by caller NOTE A TPM2B_DATA structure provides room for a digest and a method indicator to indicate the components of the digest.
|
long |
firmwareVersion
TPM-vendor-specific value identifying the version number of the firmware
|
TPM_GENERATED |
magic
the indication that this structure was created by a TPM (always TPM_GENERATED_VALUE)
|
byte[] |
qualifiedSigner
Qualified Name of the signing key
|
| Constructor and Description |
|---|
TPMS_ATTEST()
This structure is used on each TPM-generated signed structure.
|
TPMS_ATTEST(TPM_GENERATED _magic,
byte[] _qualifiedSigner,
byte[] _extraData,
TPMS_CLOCK_INFO _clockInfo,
long _firmwareVersion,
TPMU_ATTEST _attested)
This structure is used on each TPM-generated signed structure.
|
| Modifier and Type | Method and Description |
|---|---|
static TPMS_ATTEST |
fromTpm(byte[] x) |
static TPMS_ATTEST |
fromTpm(InByteBuf buf) |
int |
GetUnionSelector_attested() |
void |
initFromTpm(InByteBuf buf)
Populate this object from the TPM representation in the input byte buffer object
|
String |
toString() |
void |
toStringInternal(TpmStructurePrinter _p,
int d)
Serialize this object to the structure printer
|
byte[] |
toTpm()
Convert this object to its TPM representation and return it as a byte array
|
void |
toTpm(OutByteBuf buf)
Convert this object to its TPM representation and store in the output byte buffer object
|
equals, hashCodepublic TPM_GENERATED magic
public byte[] qualifiedSigner
public byte[] extraData
public TPMS_CLOCK_INFO clockInfo
public long firmwareVersion
public TPMU_ATTEST attested
public TPMS_ATTEST(TPM_GENERATED _magic, byte[] _qualifiedSigner, byte[] _extraData, TPMS_CLOCK_INFO _clockInfo, long _firmwareVersion, TPMU_ATTEST _attested)
_magic - the indication that this structure was created by a TPM (always TPM_GENERATED_VALUE)_qualifiedSigner - Qualified Name of the signing key_extraData - external information supplied by caller NOTE A TPM2B_DATA structure provides room for a digest and a method indicator to indicate the components of the digest. The definition of this method indicator is outside the scope of this specification._clockInfo - Clock, resetCount, restartCount, and Safe_firmwareVersion - TPM-vendor-specific value identifying the version number of the firmware_attested - the type-specific attestation information (One of TPMS_CERTIFY_INFO, TPMS_CREATION_INFO, TPMS_QUOTE_INFO, TPMS_COMMAND_AUDIT_INFO, TPMS_SESSION_AUDIT_INFO, TPMS_TIME_ATTEST_INFO, TPMS_NV_CERTIFY_INFO)public TPMS_ATTEST()
public int GetUnionSelector_attested()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPMS_ATTEST fromTpm(byte[] x)
public static TPMS_ATTEST fromTpm(InByteBuf buf)
public void toStringInternal(TpmStructurePrinter _p, int d)
TpmStructuretoStringInternal in class TpmStructure_p - The structure accumulatord - The data to serializeCopyright © 2017. All rights reserved.