2 instantiations of SafeGssContextHandle
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.Unix.cs (2)
571
contextHandle = new
SafeGssContextHandle
();
671
contextHandle ??= new
SafeGssContextHandle
();
35 references to SafeGssContextHandle
System.Net.Security (35)
_generated\0\LibraryImports.g.cs (16)
427
private static partial global::Interop.NetSecurityNative.Status InitSecContext(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.SafeGssCredHandle initiatorCredHandle, ref global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, global::Interop.NetSecurityNative.PackageType packageType, global::Microsoft.Win32.SafeHandles.SafeGssNameHandle targetName, uint reqFlags, ref byte inputBytes, int inputLength, ref global::Interop.NetSecurityNative.GssBuffer token, out uint retFlags, out bool isNtlmUsed)
442
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedRef __contextHandle_native__marshaller = new();
498
private static partial global::Interop.NetSecurityNative.Status InitSecContext(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.SafeGssCredHandle initiatorCredHandle, ref global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, global::Interop.NetSecurityNative.PackageType packageType, nint cbt, int cbtSize, global::Microsoft.Win32.SafeHandles.SafeGssNameHandle targetName, uint reqFlags, ref byte inputBytes, int inputLength, ref global::Interop.NetSecurityNative.GssBuffer token, out uint retFlags, out bool isNtlmUsed)
513
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedRef __contextHandle_native__marshaller = new();
569
private static partial global::Interop.NetSecurityNative.Status AcceptSecContext(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.SafeGssCredHandle acceptorCredHandle, ref global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
acceptContextHandle, nint cbt, int cbtSize, ref byte inputBytes, int inputLength, ref global::Interop.NetSecurityNative.GssBuffer token, out uint retFlags, out bool isNtlmUsed)
582
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedRef __acceptContextHandle_native__marshaller = new();
661
internal static partial global::Interop.NetSecurityNative.Status GetUser(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
acceptContextHandle, ref global::Interop.NetSecurityNative.GssBuffer token)
669
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedIn __acceptContextHandle_native__marshaller = new();
702
private static unsafe partial global::Interop.NetSecurityNative.Status Wrap(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, ref bool isEncrypt, byte* inputBytes, int count, ref global::Interop.NetSecurityNative.GssBuffer outBuffer)
711
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new();
748
private static unsafe partial global::Interop.NetSecurityNative.Status Unwrap(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, out bool isEncrypt, byte* inputBytes, int count, ref global::Interop.NetSecurityNative.GssBuffer outBuffer)
758
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new();
794
private static unsafe partial global::Interop.NetSecurityNative.Status GetMic(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, byte* inputBytes, int inputLength, ref global::Interop.NetSecurityNative.GssBuffer outBuffer)
802
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new();
835
private static unsafe partial global::Interop.NetSecurityNative.Status VerifyMic(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
contextHandle, byte* inputBytes, int inputLength, byte* tokenBytes, int tokenLength)
843
global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.
SafeGssContextHandle
>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs (15)
80
ref
SafeGssContextHandle
contextHandle,
94
ref
SafeGssContextHandle
contextHandle,
109
ref
SafeGssContextHandle
contextHandle,
135
ref
SafeGssContextHandle
contextHandle,
218
ref
SafeGssContextHandle
acceptContextHandle,
230
ref
SafeGssContextHandle
acceptContextHandle,
296
SafeGssContextHandle
? acceptContextHandle,
302
SafeGssContextHandle
? contextHandle,
311
SafeGssContextHandle
? contextHandle,
320
SafeGssContextHandle
? contextHandle,
328
SafeGssContextHandle
? contextHandle,
336
SafeGssContextHandle
? contextHandle,
349
SafeGssContextHandle
? contextHandle,
362
SafeGssContextHandle
? contextHandle,
374
SafeGssContextHandle
? contextHandle,
System\Net\NegotiateAuthenticationPal.Unix.cs (4)
91
private
SafeGssContextHandle
? _securityContext;
510
private static string GssGetUser(
SafeGssContextHandle
context)
544
ref
SafeGssContextHandle
? contextHandle,
664
ref
SafeGssContextHandle
? contextHandle,