public class TPM2_CreatePrimary_REQUEST extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMS_PCR_SELECTION[] |
creationPCR
PCR that will be used in creation data
|
TPMT_PUBLIC |
inPublic
the public template
|
TPMS_SENSITIVE_CREATE |
inSensitive
the sensitive data, see TPM 2.0 Part 1 Sensitive Values
|
byte[] |
outsideInfo
data that will be included in the creation data for this object to provide permanent, verifiable linkage between this object and some object owner data
|
TPM_HANDLE |
primaryHandle
TPM_RH_ENDORSEMENT, TPM_RH_OWNER, TPM_RH_PLATFORM+{PP}, or TPM_RH_NULL Auth Index: 1 Auth Role: USER
|
| Constructor and Description |
|---|
TPM2_CreatePrimary_REQUEST()
This command is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL.
|
TPM2_CreatePrimary_REQUEST(TPM_HANDLE _primaryHandle,
TPMS_SENSITIVE_CREATE _inSensitive,
TPMT_PUBLIC _inPublic,
byte[] _outsideInfo,
TPMS_PCR_SELECTION[] _creationPCR)
This command is used to create a Primary Object under one of the Primary Seeds or a Temporary Object under TPM_RH_NULL.
|
| Modifier and Type | Method and Description |
|---|---|
static TPM2_CreatePrimary_REQUEST |
fromTpm(byte[] x) |
static TPM2_CreatePrimary_REQUEST |
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 TPM_HANDLE primaryHandle
public TPMS_SENSITIVE_CREATE inSensitive
public TPMT_PUBLIC inPublic
public byte[] outsideInfo
public TPMS_PCR_SELECTION[] creationPCR
public TPM2_CreatePrimary_REQUEST(TPM_HANDLE _primaryHandle, TPMS_SENSITIVE_CREATE _inSensitive, TPMT_PUBLIC _inPublic, byte[] _outsideInfo, TPMS_PCR_SELECTION[] _creationPCR)
_primaryHandle - TPM_RH_ENDORSEMENT, TPM_RH_OWNER, TPM_RH_PLATFORM+{PP}, or TPM_RH_NULL Auth Index: 1 Auth Role: USER_inSensitive - the sensitive data, see TPM 2.0 Part 1 Sensitive Values_inPublic - the public template_outsideInfo - data that will be included in the creation data for this object to provide permanent, verifiable linkage between this object and some object owner data_creationPCR - PCR that will be used in creation datapublic TPM2_CreatePrimary_REQUEST()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPM2_CreatePrimary_REQUEST fromTpm(byte[] x)
public static TPM2_CreatePrimary_REQUEST 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.