C# 클래스 Tpm2Lib.TpmPolicySecret

This command includes a secret-based authorization to a policy. The caller proves knowledge of the secret value using either a password or an HMAC-based authorization session.
상속: TpmPolicyWithExpiration
파일 보기 프로젝트 열기: Microsoft/TSS.MSR 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AuthVal AuthValue
AuthorityHandle TpmHandle
AuthorityName byte[]

공개 메소드들

메소드 설명
TpmPolicySecret ( ) : System
TpmPolicySecret ( TpmHandle authorityHandle, byte authorityName, AuthValue theAuthVal, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System
TpmPolicySecret ( byte authObjectName, bool useNonceTpm, byte cpHash, byte policyRef, int expirationTime, string branchName = "" ) : System

비공개 메소드들

메소드 설명
Execute ( Tpm2 tpm, AuthSession authSession, PolicyTree policy ) : TpmRc
GetPolicyDigest ( TpmAlgId hashAlg ) : TpmHash

메소드 상세

TpmPolicySecret() 공개 메소드

public TpmPolicySecret ( ) : System
리턴 System

TpmPolicySecret() 공개 메소드

public TpmPolicySecret ( TpmHandle authorityHandle, byte authorityName, AuthValue theAuthVal, bool useNonceTpm, int expirationTime, byte cpHash, byte policyRef, string branchName = "" ) : System
authorityHandle TpmHandle
authorityName byte
theAuthVal AuthValue
useNonceTpm bool
expirationTime int
cpHash byte
policyRef byte
branchName string
리턴 System

TpmPolicySecret() 공개 메소드

public TpmPolicySecret ( byte authObjectName, bool useNonceTpm, byte cpHash, byte policyRef, int expirationTime, string branchName = "" ) : System
authObjectName byte
useNonceTpm bool
cpHash byte
policyRef byte
expirationTime int
branchName string
리턴 System

프로퍼티 상세

AuthVal 공개적으로 프로퍼티

public AuthValue,Tpm2Lib AuthVal
리턴 AuthValue

AuthorityHandle 공개적으로 프로퍼티

public TpmHandle,Tpm2Lib AuthorityHandle
리턴 TpmHandle

AuthorityName 공개적으로 프로퍼티

public byte[] AuthorityName
리턴 byte[]