コード例 #1
0
 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;
 }
コード例 #3
0
 internal static extern SecStatusCode RevertSecurityContext(
     SecHandle phContext
     );
コード例 #4
0
 internal static extern SecStatusCode ImpersonateSecurityContext(
     SecHandle phContext
     );
コード例 #5
0
 internal static extern SecStatusCode QuerySecurityContextToken(SecHandle phContext, out SafeKernelObjectHandle Token);
コード例 #6
0
 internal static extern SecStatusCode DeleteSecurityContext(
     SecHandle phContext
     );
コード例 #7
0
 internal static extern SecStatusCode CompleteAuthToken(SecHandle phContext,
                                                        SecBufferDesc pToken
                                                        );
コード例 #8
0
 internal static extern SecStatusCode FreeCredentialsHandle([In, Out] SecHandle phCredential);