public class TPMS_CREATION_DATA extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMA_LOCALITY |
locality
the locality at which the object was created
|
byte[] |
outsideInfo
association with additional information added by the key creator This will be the contents of the outsideInfo parameter in TPM2_Create() or TPM2_CreatePrimary().
|
byte[] |
parentName
Name of the parent at time of creation The size will match digest size associated with parentNameAlg unless it is TPM_ALG_NULL, in which case the size will be 4 and parentName will be the hierarchy handle.
|
TPM_ALG_ID |
parentNameAlg
nameAlg of the parent
|
byte[] |
parentQualifiedName
Qualified Name of the parent at the time of creation Size is the same as parentName.
|
byte[] |
pcrDigest
digest of the selected PCR using nameAlg of the object for which this structure is being created pcrDigest.size shall be zero if the pcrSelect list is empty.
|
TPMS_PCR_SELECTION[] |
pcrSelect
list indicating the PCR included in pcrDigest
|
| Constructor and Description |
|---|
TPMS_CREATION_DATA()
This structure provides information relating to the creation environment for the object.
|
TPMS_CREATION_DATA(TPMS_PCR_SELECTION[] _pcrSelect,
byte[] _pcrDigest,
TPMA_LOCALITY _locality,
TPM_ALG_ID _parentNameAlg,
byte[] _parentName,
byte[] _parentQualifiedName,
byte[] _outsideInfo)
This structure provides information relating to the creation environment for the object.
|
| Modifier and Type | Method and Description |
|---|---|
static TPMS_CREATION_DATA |
fromTpm(byte[] x) |
static TPMS_CREATION_DATA |
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 TPMS_PCR_SELECTION[] pcrSelect
public byte[] pcrDigest
public TPMA_LOCALITY locality
public TPM_ALG_ID parentNameAlg
public byte[] parentName
public byte[] parentQualifiedName
public byte[] outsideInfo
public TPMS_CREATION_DATA(TPMS_PCR_SELECTION[] _pcrSelect, byte[] _pcrDigest, TPMA_LOCALITY _locality, TPM_ALG_ID _parentNameAlg, byte[] _parentName, byte[] _parentQualifiedName, byte[] _outsideInfo)
_pcrSelect - list indicating the PCR included in pcrDigest_pcrDigest - digest of the selected PCR using nameAlg of the object for which this structure is being created pcrDigest.size shall be zero if the pcrSelect list is empty._locality - the locality at which the object was created_parentNameAlg - nameAlg of the parent_parentName - Name of the parent at time of creation The size will match digest size associated with parentNameAlg unless it is TPM_ALG_NULL, in which case the size will be 4 and parentName will be the hierarchy handle._parentQualifiedName - Qualified Name of the parent at the time of creation Size is the same as parentName._outsideInfo - association with additional information added by the key creator This will be the contents of the outsideInfo parameter in TPM2_Create() or TPM2_CreatePrimary().public TPMS_CREATION_DATA()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPMS_CREATION_DATA fromTpm(byte[] x)
public static TPMS_CREATION_DATA 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.