PolicyPCR() 개인적인 메소드

private PolicyPCR ( TpmHandle policySession, byte pcrDigest, PcrSelection pcrs ) : void
policySession TpmHandle
pcrDigest byte
pcrs PcrSelection
리턴 void
예제 #1
0
 internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
 {
     tpm.PolicyPCR(sess, Pcrs.GetSelectionHash(policy.PolicyHash),
                   Pcrs.GetPcrSelectionArray());
     return(tpm._GetLastResponseCode());
 }
예제 #2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession policySession, PolicyTree policy)
 {
     tpm.PolicyPCR(policySession, Pcrs.GetSelectionHash(policy.PolicyHash.HashAlg), Pcrs.GetPcrSelectionArray());
     return tpm._GetLastResponseCode();
 }