Tpm2Lib.AuthSession.AuthSession C# (CSharp) Method

AuthSession() public method

Constructs an object encapsulating a session opened in TPM. The Tpm2 object that was used to create the session tracks other information associated with it and uses it to compute session key and command/response HMAC.
public AuthSession ( TpmHandle h ) : System
h TpmHandle
return System
        public AuthSession(TpmHandle h)
        {
            if (!h.IsSession())
            {
                Globs.Throw<ArgumentException>("AuthSession: Attempt to construct from non-session handle");
            }
            Handle = h;
        }

Same methods

AuthSession::AuthSession ( ) : System
AuthSession::AuthSession ( ParametrizedHandle ph ) : System
AuthSession::AuthSession ( TpmSe sessionType, TpmHandle tpmKey, TpmHandle bindObject, byte nonceCaller, byte nonceTpm, SymDef symmetric, TpmAlgId authHash ) : System