1 instantiation of SafeGssCredHandle
System.Net.Security (1)
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\GssSafeHandles.cs (1)
106return new SafeGssCredHandle();
32 references to SafeGssCredHandle
System.Net.Security (32)
_generated\0\LibraryImports.g.cs (12)
237internal static partial global::Interop.NetSecurityNative.Status AcquireAcceptorCred(out global::Interop.NetSecurityNative.Status minorStatus, out global::Microsoft.Win32.SafeHandles.SafeGssCredHandle outputCredHandle) 247global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedOut __outputCredHandle_native__marshaller = new(); 284internal static partial global::Interop.NetSecurityNative.Status InitiateCredSpNego(out global::Interop.NetSecurityNative.Status minorStatus, global::Microsoft.Win32.SafeHandles.SafeGssNameHandle desiredName, out global::Microsoft.Win32.SafeHandles.SafeGssCredHandle outputCredHandle) 295global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedOut __outputCredHandle_native__marshaller = new(); 340internal static partial global::Interop.NetSecurityNative.Status InitiateCredWithPassword(out global::Interop.NetSecurityNative.Status minorStatus, global::Interop.NetSecurityNative.PackageType packageType, global::Microsoft.Win32.SafeHandles.SafeGssNameHandle desiredName, string password, int passwordLen, out global::Microsoft.Win32.SafeHandles.SafeGssCredHandle outputCredHandle) 352global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedOut __outputCredHandle_native__marshaller = new(); 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) 443global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedIn __initiatorCredHandle_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) 514global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedIn __initiatorCredHandle_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) 583global::System.Runtime.InteropServices.Marshalling.SafeHandleMarshaller<global::Microsoft.Win32.SafeHandles.SafeGssCredHandle>.ManagedToUnmanagedIn __acceptorCredHandle_native__marshaller = new();
src\runtime\src\libraries\Common\src\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs (9)
54out SafeGssCredHandle outputCredHandle); 60out SafeGssCredHandle outputCredHandle); 69out SafeGssCredHandle outputCredHandle); 79SafeGssCredHandle initiatorCredHandle, 93SafeGssCredHandle initiatorCredHandle, 108SafeGssCredHandle initiatorCredHandle, 134SafeGssCredHandle initiatorCredHandle, 217SafeGssCredHandle acceptorCredHandle, 229SafeGssCredHandle acceptorCredHandle,
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\GssSafeHandles.cs (4)
75public static SafeGssCredHandle CreateAcceptor() 77SafeGssCredHandle? retHandle; 94public static SafeGssCredHandle Create(string username, string password, Interop.NetSecurityNative.PackageType packageType) 109SafeGssCredHandle? retHandle = null;
System\Net\NegotiateAuthenticationPal.Unix.cs (7)
90private SafeGssCredHandle _credentialsHandle; 209_credentialsHandle = SafeGssCredHandle.Create(string.Empty, string.Empty, _packageType); 244_credentialsHandle = SafeGssCredHandle.CreateAcceptor(); 475private SafeGssCredHandle AcquireCredentialsHandle(NetworkCredential credential) 501return SafeGssCredHandle.Create(username, password, _packageType); 543ref SafeGssCredHandle credentialsHandle, 663SafeGssCredHandle credentialsHandle,