C# Class 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.
Inheritance: PolicyAce
Afficher le fichier Open project: Microsoft/TSS.MSR

Méthodes publiques

Свойство Type Description
PolicyRef byte[]
PolicyToReplace byte[]
Sig1 SignatureRsapss
Sig2 SignatureRsassa
SigningHash TpmAlgId
SigningKey TpmPublic

Méthodes publiques

Méthode Description
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.

Private Methods

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

Method Details

TpmPolicyAuthorize() public méthode

public TpmPolicyAuthorize ( ) : System
Résultat System

TpmPolicyAuthorize() public méthode

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
Résultat System

Property Details

PolicyRef public_oe property

public byte[] PolicyRef
Résultat byte[]

PolicyToReplace public_oe property

public byte[] PolicyToReplace
Résultat byte[]

Sig1 public_oe property

public SignatureRsapss,Tpm2Lib Sig1
Résultat SignatureRsapss

Sig2 public_oe property

public SignatureRsassa,Tpm2Lib Sig2
Résultat SignatureRsassa

SigningHash public_oe property

public TpmAlgId SigningHash
Résultat TpmAlgId

SigningKey public_oe property

public TpmPublic,Tpm2Lib SigningKey
Résultat TpmPublic