C# Class Tpm2Lib.TpmPolicySigned

This command includes an asymmetrically signed authorization in a policy.
Inheritance: TpmPolicyWithExpiration
Mostra file Open project: Microsoft/TSS.MSR Class Usage Examples

Public Properties

Property Type Description
AuthObjectName byte[]

Public Methods

Method Description
TpmPolicySigned ( ) : System
TpmPolicySigned ( AsymCryptoSystem authorityKey, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System
TpmPolicySigned ( byte authorityKeyName, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System

Private Methods

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

Method Details

TpmPolicySigned() public method

public TpmPolicySigned ( ) : System
return System

TpmPolicySigned() public method

public TpmPolicySigned ( AsymCryptoSystem authorityKey, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System
authorityKey AsymCryptoSystem
useNonceTpm bool
expirationTime int
cpHash byte
policyRef byte
branchName string
return System

TpmPolicySigned() public method

public TpmPolicySigned ( byte authorityKeyName, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System
authorityKeyName byte
useNonceTpm bool
expirationTime int
cpHash byte
policyRef byte
branchName string
return System

Property Details

AuthObjectName public_oe property

public byte[] AuthObjectName
return byte[]