public class TPM2_PolicyTicket_REQUEST extends TpmStructure
| Modifier and Type | Field and Description |
|---|---|
byte[] |
authName
name of the object that provided the authorization
|
byte[] |
cpHashA
digest of the command parameters to which this authorization is limited If it is not limited, the parameter will be the Empty Buffer.
|
byte[] |
policyRef
reference to a qualifier for the policy may be the Empty Buffer
|
TPM_HANDLE |
policySession
handle for the policy session being extended Auth Index: None
|
TPMT_TK_AUTH |
ticket
an authorization ticket returned by the TPM in response to a TPM2_PolicySigned() or TPM2_PolicySecret()
|
byte[] |
timeout
time when authorization will expire The contents are TPM specific.
|
| Constructor and Description |
|---|
TPM2_PolicyTicket_REQUEST()
This command is similar to TPM2_PolicySigned() except that it takes a ticket instead of a signed authorization.
|
TPM2_PolicyTicket_REQUEST(TPM_HANDLE _policySession,
byte[] _timeout,
byte[] _cpHashA,
byte[] _policyRef,
byte[] _authName,
TPMT_TK_AUTH _ticket)
This command is similar to TPM2_PolicySigned() except that it takes a ticket instead of a signed authorization.
|
| Modifier and Type | Method and Description |
|---|---|
static TPM2_PolicyTicket_REQUEST |
fromTpm(byte[] x) |
static TPM2_PolicyTicket_REQUEST |
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 TPM_HANDLE policySession
public byte[] timeout
public byte[] cpHashA
public byte[] policyRef
public byte[] authName
public TPMT_TK_AUTH ticket
public TPM2_PolicyTicket_REQUEST(TPM_HANDLE _policySession, byte[] _timeout, byte[] _cpHashA, byte[] _policyRef, byte[] _authName, TPMT_TK_AUTH _ticket)
_policySession - handle for the policy session being extended Auth Index: None_timeout - time when authorization will expire The contents are TPM specific. This shall be the value returned when ticket was produced._cpHashA - digest of the command parameters to which this authorization is limited If it is not limited, the parameter will be the Empty Buffer._policyRef - reference to a qualifier for the policy may be the Empty Buffer_authName - name of the object that provided the authorization_ticket - an authorization ticket returned by the TPM in response to a TPM2_PolicySigned() or TPM2_PolicySecret()public TPM2_PolicyTicket_REQUEST()
public void toTpm(OutByteBuf buf)
TpmMarshallerbuf - An output byte bufferpublic void initFromTpm(InByteBuf buf)
TpmMarshallerbuf - An input byte bufferpublic byte[] toTpm()
TpmMarshallerpublic static TPM2_PolicyTicket_REQUEST fromTpm(byte[] x)
public static TPM2_PolicyTicket_REQUEST 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.