public class SessionOut extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
TPMA_SESSION |
attributes
Session attributes
|
byte[] |
auth
HMAC value
|
byte[] |
nonceTpm
TPM nonce
|
| Constructor and Description |
|---|
SessionOut()
Structure representing a session block in a response buffer [tss]
|
SessionOut(byte[] _nonceTpm,
TPMA_SESSION _attributes,
byte[] _auth)
Structure representing a session block in a response buffer [tss]
|
| Modifier and Type | Method and Description |
|---|---|
static SessionOut |
fromTpm(byte[] x) |
static SessionOut |
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 byte[] nonceTpm
public TPMA_SESSION attributes
public byte[] auth
public SessionOut(byte[] _nonceTpm,
TPMA_SESSION _attributes,
byte[] _auth)
_nonceTpm - TPM nonce_attributes - Session attributes_auth - HMAC valuepublic SessionOut()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static SessionOut fromTpm(byte[] x)
public static SessionOut 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.