public class CommitResponse extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
short |
counter
least-significant 16 bits of commitCount
|
TPMS_ECC_POINT |
E
ECC point E [r]P1
|
TPMS_ECC_POINT |
K
ECC point K [ds](x2, y2)
|
TPMS_ECC_POINT |
L
ECC point L [r](x2, y2)
|
| Constructor and Description |
|---|
CommitResponse()
TPM2_Commit() performs the first part of an ECC anonymous signing operation.
|
CommitResponse(TPMS_ECC_POINT _K,
TPMS_ECC_POINT _L,
TPMS_ECC_POINT _E,
int _counter)
TPM2_Commit() performs the first part of an ECC anonymous signing operation.
|
| Modifier and Type | Method and Description |
|---|---|
static CommitResponse |
fromTpm(byte[] x) |
static CommitResponse |
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_ECC_POINT K
public TPMS_ECC_POINT L
public TPMS_ECC_POINT E
public short counter
public CommitResponse(TPMS_ECC_POINT _K, TPMS_ECC_POINT _L, TPMS_ECC_POINT _E, int _counter)
_K - ECC point K [ds](x2, y2)_L - ECC point L [r](x2, y2)_E - ECC point E [r]P1_counter - least-significant 16 bits of commitCountpublic CommitResponse()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static CommitResponse fromTpm(byte[] x)
public static CommitResponse 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.