public class GetCapabilityResponse extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMU_CAPABILITIES |
capabilityData
the capability data
|
byte |
moreData
flag to indicate if there are more values of this type
|
| Constructor and Description |
|---|
GetCapabilityResponse()
This command returns various information regarding the TPM and its current state.
|
GetCapabilityResponse(byte _moreData,
TPMU_CAPABILITIES _capabilityData)
This command returns various information regarding the TPM and its current state.
|
| Modifier and Type | Method and Description |
|---|---|
static GetCapabilityResponse |
fromTpm(byte[] x) |
static GetCapabilityResponse |
fromTpm(InByteBuf buf) |
int |
GetUnionSelector_capabilityData() |
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 byte moreData
public TPMU_CAPABILITIES capabilityData
public GetCapabilityResponse(byte _moreData,
TPMU_CAPABILITIES _capabilityData)
_moreData - flag to indicate if there are more values of this type_capabilityData - the capability data (One of TPML_ALG_PROPERTY, TPML_HANDLE, TPML_CCA, TPML_CC, TPML_CC, TPML_PCR_SELECTION, TPML_TAGGED_TPM_PROPERTY, TPML_TAGGED_PCR_PROPERTY, TPML_ECC_CURVE, TPML_TAGGED_POLICY)public GetCapabilityResponse()
public int GetUnionSelector_capabilityData()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static GetCapabilityResponse fromTpm(byte[] x)
public static GetCapabilityResponse 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.