C# Class Tpm2Lib.TpmPolicyTicket

This command is similar to TPM2_PolicySigned() except that it takes a ticket instead of a signed authorization. The ticket represents a validated authorization that had an expiration time associated with it.
Inheritance: PolicyAce
ファイルを表示 Open project: Microsoft/TSS.MSR

Public Properties

Property Type Description
AuthorizingKey TpmPublic
CpHash byte[]
ExpirationTime byte[]
PolicyRef byte[]
TicketType TpmSt

Public Methods

Method Description
SetTicket ( TkAuth ticket ) : void
TpmPolicyTicket ( ) : System
TpmPolicyTicket ( TkAuth ticket, byte expirationTimeFromSignOperation, byte cpHash, byte policyRef, byte objectName, string branchName = "" ) : System

This command is similar to TPM2_PolicySigned() except that it takes a ticket instead of a signed authorization. The ticket represents a validated authorization that had an expiration time associated with it.

TpmPolicyTicket ( TpmPublic authorizingKey, byte policyRef, TpmSt ticketType ) : System

Private Methods

Method Description
Execute ( Tpm2 tpm, AuthSession authSession, PolicyTree policy ) : TpmRc
GetPolicyDigest ( TpmAlgId hashAlg ) : TpmHash

Method Details

SetTicket() public method

public SetTicket ( TkAuth ticket ) : void
ticket TkAuth
return void

TpmPolicyTicket() public method

public TpmPolicyTicket ( ) : System
return System

TpmPolicyTicket() public method

This command is similar to TPM2_PolicySigned() except that it takes a ticket instead of a signed authorization. The ticket represents a validated authorization that had an expiration time associated with it.
public TpmPolicyTicket ( TkAuth ticket, byte expirationTimeFromSignOperation, byte cpHash, byte policyRef, byte objectName, string branchName = "" ) : System
ticket TkAuth
expirationTimeFromSignOperation byte
cpHash byte
policyRef byte
objectName byte
branchName string
return System

TpmPolicyTicket() public method

public TpmPolicyTicket ( TpmPublic authorizingKey, byte policyRef, TpmSt ticketType ) : System
authorizingKey TpmPublic
policyRef byte
ticketType TpmSt
return System

Property Details

AuthorizingKey public_oe property

public TpmPublic,Tpm2Lib AuthorizingKey
return TpmPublic

CpHash public_oe property

public byte[] CpHash
return byte[]

ExpirationTime public_oe property

public byte[] ExpirationTime
return byte[]

PolicyRef public_oe property

public byte[] PolicyRef
return byte[]

TicketType public_oe property

public TpmSt TicketType
return TpmSt