public class PCR_ReadResponse extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMS_PCR_SELECTION[] |
pcrSelectionOut
the PCR in the returned list
|
int |
pcrUpdateCounter
the current value of the PCR update counter
|
TPM2B_DIGEST[] |
pcrValues
the contents of the PCR indicated in pcrSelectOut-) pcrSelection[] as tagged digests
|
| Constructor and Description |
|---|
PCR_ReadResponse()
This command returns the values of all PCR specified in pcrSelectionIn.
|
PCR_ReadResponse(int _pcrUpdateCounter,
TPMS_PCR_SELECTION[] _pcrSelectionOut,
TPM2B_DIGEST[] _pcrValues)
This command returns the values of all PCR specified in pcrSelectionIn.
|
| Modifier and Type | Method and Description |
|---|---|
static PCR_ReadResponse |
fromTpm(byte[] x) |
static PCR_ReadResponse |
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 int pcrUpdateCounter
public TPMS_PCR_SELECTION[] pcrSelectionOut
public TPM2B_DIGEST[] pcrValues
public PCR_ReadResponse(int _pcrUpdateCounter,
TPMS_PCR_SELECTION[] _pcrSelectionOut,
TPM2B_DIGEST[] _pcrValues)
_pcrUpdateCounter - the current value of the PCR update counter_pcrSelectionOut - the PCR in the returned list_pcrValues - the contents of the PCR indicated in pcrSelectOut-) pcrSelection[] as tagged digestspublic PCR_ReadResponse()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static PCR_ReadResponse fromTpm(byte[] x)
public static PCR_ReadResponse 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.