Tpm2Lib.Tbs.ReplaceHandlesIn C# (CSharp) 메소드

ReplaceHandlesIn() 개인적인 메소드

Modifies the handles and sessions arrays so that they contain the translated handles.
private ReplaceHandlesIn ( TpmHandle handles, SessionIn sessions, ObjectContext theObjects, ObjectContext theSessions ) : void
handles TpmHandle
sessions SessionIn
theObjects ObjectContext
theSessions ObjectContext
리턴 void
        private void ReplaceHandlesIn(TpmHandle[] handles, SessionIn[] sessions, ObjectContext[] theObjects, ObjectContext[] theSessions)
        {
            for (int j = 0; j < handles.Length; j++)
            {
                handles[j] = theObjects[j].TheTpmHandle;
            }
            for (int j = 0; j < sessions.Length; j++)
            {
                sessions[j].handle = theSessions[j].TheTpmHandle;
            }
        }