PolicyDuplicationSelect() private method

private PolicyDuplicationSelect ( TpmHandle policySession, byte objectName, byte newParentName, byte includeObject ) : void
policySession TpmHandle
objectName byte
newParentName byte
includeObject byte
return void
Esempio n. 1
0
        internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
        {
            byte includeName = IncludeObjectNameInPolicyHash ? (byte)1 : (byte)0;

            tpm.PolicyDuplicationSelect(sess, DupObjectName, NewParentName, includeName);
            return(tpm._GetLastResponseCode());
        }
Esempio n. 2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy)
 {
     byte includeName = IncludeObjectNameInPolicyHash ? (byte)1 : (byte)0;
     tpm.PolicyDuplicationSelect(authSession, NameOfObject, NameOfNewParent, includeName);
     return tpm._GetLastResponseCode();
 }