internal static extern SecStatusCode InitializeSecurityContext( [In] SecHandle phCredential, [In] SecHandle phContext, string pszTargetName, InitializeContextReqFlags fContextReq, int Reserved1, SecDataRep TargetDataRep, SecBufferDesc pInput, int Reserved2, [Out] SecHandle phNewContext, [In, Out] SecBufferDesc pOutput, out InitializeContextRetFlags pfContextAttr, [Out] LargeInteger ptsExpiry );
internal AuthenticationImpersonationContext(SecHandle context) { _context = context; }
internal static extern SecStatusCode RevertSecurityContext( SecHandle phContext );
internal static extern SecStatusCode ImpersonateSecurityContext( SecHandle phContext );
internal static extern SecStatusCode QuerySecurityContextToken(SecHandle phContext, out SafeKernelObjectHandle Token);
internal static extern SecStatusCode DeleteSecurityContext( SecHandle phContext );
internal static extern SecStatusCode CompleteAuthToken(SecHandle phContext, SecBufferDesc pToken );
internal static extern SecStatusCode FreeCredentialsHandle([In, Out] SecHandle phCredential);