public class CreateResponse extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMS_CREATION_DATA |
creationData
contains a TPMS_CREATION_DATA
|
byte[] |
creationHash
digest of creationData using nameAlg of outPublic
|
TPMT_TK_CREATION |
creationTicket
ticket used by TPM2_CertifyCreation() to validate that the creation data was produced by the TPM
|
TPM2B_PRIVATE |
outPrivate
the private portion of the object
|
TPMT_PUBLIC |
outPublic
the public portion of the created object
|
| Constructor and Description |
|---|
CreateResponse()
This command is used to create an object that can be loaded into a TPM using TPM2_Load().
|
CreateResponse(TPM2B_PRIVATE _outPrivate,
TPMT_PUBLIC _outPublic,
TPMS_CREATION_DATA _creationData,
byte[] _creationHash,
TPMT_TK_CREATION _creationTicket)
This command is used to create an object that can be loaded into a TPM using TPM2_Load().
|
| Modifier and Type | Method and Description |
|---|---|
static CreateResponse |
fromTpm(byte[] x) |
static CreateResponse |
fromTpm(InByteBuf buf) |
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 TPM2B_PRIVATE outPrivate
public TPMT_PUBLIC outPublic
public TPMS_CREATION_DATA creationData
public byte[] creationHash
public TPMT_TK_CREATION creationTicket
public CreateResponse(TPM2B_PRIVATE _outPrivate, TPMT_PUBLIC _outPublic, TPMS_CREATION_DATA _creationData, byte[] _creationHash, TPMT_TK_CREATION _creationTicket)
_outPrivate - the private portion of the object_outPublic - the public portion of the created object_creationData - contains a TPMS_CREATION_DATA_creationHash - digest of creationData using nameAlg of outPublic_creationTicket - ticket used by TPM2_CertifyCreation() to validate that the creation data was produced by the TPMpublic CreateResponse()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static CreateResponse fromTpm(byte[] x)
public static CreateResponse 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.