C# 클래스 Tpm2Lib.TpmPolicyAuthorize

This command allows policies to change. If a policy were static, then it would be difficult to add users to a policy. This command lets a policy authority sign a new policy so that it may be used in an existing policy.
상속: PolicyAce
파일 보기 프로젝트 열기: Microsoft/TSS.MSR

공개 프로퍼티들

프로퍼티 타입 설명
PolicyRef byte[]
PolicyToReplace byte[]
Sig1 SignatureRsapss
Sig2 SignatureRsassa
SigningHash TpmAlgId
SigningKey TpmPublic

공개 메소드들

메소드 설명
TpmPolicyAuthorize ( ) : System
TpmPolicyAuthorize ( byte policyToReplace, byte policyRef, TpmPublic signingKey, TpmAlgId signingHash, ISignatureUnion signature, string branchName = "" ) : System

This command allows policies to change. If a policy were static, then it would be difficult to add users to a policy. This command lets a policy authority sign a new policy so that it may be used in an existing policy.

비공개 메소드들

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

메소드 상세

TpmPolicyAuthorize() 공개 메소드

public TpmPolicyAuthorize ( ) : System
리턴 System

TpmPolicyAuthorize() 공개 메소드

This command allows policies to change. If a policy were static, then it would be difficult to add users to a policy. This command lets a policy authority sign a new policy so that it may be used in an existing policy.
public TpmPolicyAuthorize ( byte policyToReplace, byte policyRef, TpmPublic signingKey, TpmAlgId signingHash, ISignatureUnion signature, string branchName = "" ) : System
policyToReplace byte
policyRef byte
signingKey TpmPublic
signingHash TpmAlgId
signature ISignatureUnion
branchName string
리턴 System

프로퍼티 상세

PolicyRef 공개적으로 프로퍼티

public byte[] PolicyRef
리턴 byte[]

PolicyToReplace 공개적으로 프로퍼티

public byte[] PolicyToReplace
리턴 byte[]

Sig1 공개적으로 프로퍼티

public SignatureRsapss,Tpm2Lib Sig1
리턴 SignatureRsapss

Sig2 공개적으로 프로퍼티

public SignatureRsassa,Tpm2Lib Sig2
리턴 SignatureRsassa

SigningHash 공개적으로 프로퍼티

public TpmAlgId SigningHash
리턴 TpmAlgId

SigningKey 공개적으로 프로퍼티

public TpmPublic,Tpm2Lib SigningKey
리턴 TpmPublic