public class TPMT_KEYEDHASH_SCHEME extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMU_SCHEME_KEYEDHASH |
details
the scheme parameters
|
| Constructor and Description |
|---|
TPMT_KEYEDHASH_SCHEME()
This structure is used for a hash signing object.
|
TPMT_KEYEDHASH_SCHEME(TPMU_SCHEME_KEYEDHASH _details)
This structure is used for a hash signing object.
|
| Modifier and Type | Method and Description |
|---|---|
static TPMT_KEYEDHASH_SCHEME |
fromTpm(byte[] x) |
static TPMT_KEYEDHASH_SCHEME |
fromTpm(InByteBuf buf) |
int |
GetUnionSelector_details() |
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 TPMU_SCHEME_KEYEDHASH details
public TPMT_KEYEDHASH_SCHEME(TPMU_SCHEME_KEYEDHASH _details)
_details - the scheme parameters (One of TPMS_SCHEME_HMAC, TPMS_SCHEME_XOR, TPMS_NULL_SCHEME_KEYEDHASH)public TPMT_KEYEDHASH_SCHEME()
public int GetUnionSelector_details()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPMT_KEYEDHASH_SCHEME fromTpm(byte[] x)
public static TPMT_KEYEDHASH_SCHEME 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.