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