public class TPMT_SENSITIVE extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
byte[] |
authValue
user authorization data The authValue may be a zero-length string.
|
byte[] |
seedValue
for a parent object, the optional protection seed; for other objects, the obfuscation value This value shall not be larger than the size of the digest produced by nameAlg of the object.
|
TPMU_SENSITIVE_COMPOSITE |
sensitive
the type-specific private data
|
| Constructor and Description |
|---|
TPMT_SENSITIVE()
Table 196 Definition of TPMT_SENSITIVE Structure
|
TPMT_SENSITIVE(byte[] _authValue,
byte[] _seedValue,
TPMU_SENSITIVE_COMPOSITE _sensitive)
Table 196 Definition of TPMT_SENSITIVE Structure
|
| Modifier and Type | Method and Description |
|---|---|
static TPMT_SENSITIVE |
fromTpm(byte[] x) |
static TPMT_SENSITIVE |
fromTpm(InByteBuf buf) |
int |
GetUnionSelector_sensitive() |
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[] authValue
public byte[] seedValue
public TPMU_SENSITIVE_COMPOSITE sensitive
public TPMT_SENSITIVE(byte[] _authValue,
byte[] _seedValue,
TPMU_SENSITIVE_COMPOSITE _sensitive)
_authValue - user authorization data The authValue may be a zero-length string. This value shall not be larger than the size of the digest produced by the nameAlg of the object._seedValue - for a parent object, the optional protection seed; for other objects, the obfuscation value This value shall not be larger than the size of the digest produced by nameAlg of the object._sensitive - the type-specific private data (One of TPM2B_PRIVATE_KEY_RSA, TPM2B_ECC_PARAMETER, TPM2B_SENSITIVE_DATA, TPM2B_SYM_KEY, TPM2B_PRIVATE_VENDOR_SPECIFIC)public TPMT_SENSITIVE()
public int GetUnionSelector_sensitive()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPMT_SENSITIVE fromTpm(byte[] x)
public static TPMT_SENSITIVE 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.