2 instantiations of SafeGssContextHandle
System.Net.Security (2)
System\Net\NegotiateAuthenticationPal.Unix.cs (2)
571contextHandle = new SafeGssContextHandle(); 671contextHandle ??= new SafeGssContextHandle();
35 references to SafeGssContextHandle
System.Net.Security (35)
_generated\0\LibraryImports.g.cs (16)
427private 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) 442global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedRef __contextHandle_native__marshaller = new(); 498private 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) 513global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedRef __contextHandle_native__marshaller = new(); 569private 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) 582global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedRef __acceptContextHandle_native__marshaller = new(); 661internal 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) 669global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedIn __acceptContextHandle_native__marshaller = new(); 702private 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) 711global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new(); 748private 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) 758global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new(); 794private 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) 802global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssContextHandle>.ManagedToUnmanagedIn __contextHandle_native__marshaller = new(); 835private 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) 843global::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)
80ref SafeGssContextHandle contextHandle, 94ref SafeGssContextHandle contextHandle, 109ref SafeGssContextHandle contextHandle, 135ref SafeGssContextHandle contextHandle, 218ref SafeGssContextHandle acceptContextHandle, 230ref SafeGssContextHandle acceptContextHandle, 296SafeGssContextHandle? acceptContextHandle, 302SafeGssContextHandle? contextHandle, 311SafeGssContextHandle? contextHandle, 320SafeGssContextHandle? contextHandle, 328SafeGssContextHandle? contextHandle, 336SafeGssContextHandle? contextHandle, 349SafeGssContextHandle? contextHandle, 362SafeGssContextHandle? contextHandle, 374SafeGssContextHandle? contextHandle,
System\Net\NegotiateAuthenticationPal.Unix.cs (4)
91private SafeGssContextHandle? _securityContext; 510private static string GssGetUser(SafeGssContextHandle context) 544ref SafeGssContextHandle? contextHandle, 664ref SafeGssContextHandle? contextHandle,