23 references to PackageType
System.Net.Security (23)
_generated\0\LibraryImports.g.cs (6)
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) 391static extern unsafe global::Interop.NetSecurityNative.Status __PInvoke(global::Interop.NetSecurityNative.Status* __minorStatus_native, global::Interop.NetSecurityNative.PackageType __packageType_native, nint __desiredName_native, byte* __password_native, int __passwordLen_native, nint* __outputCredHandle_native); 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) 488static extern unsafe global::Interop.NetSecurityNative.Status __PInvoke(global::Interop.NetSecurityNative.Status* __minorStatus_native, nint __initiatorCredHandle_native, nint* __contextHandle_native, global::Interop.NetSecurityNative.PackageType __packageType_native, nint __targetName_native, uint __reqFlags_native, byte* __inputBytes_native, int __inputLength_native, global::Interop.NetSecurityNative.GssBuffer* __token_native, uint* __retFlags_native, int* __isNtlmUsed_native); 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) 559static extern unsafe global::Interop.NetSecurityNative.Status __PInvoke(global::Interop.NetSecurityNative.Status* __minorStatus_native, nint __initiatorCredHandle_native, nint* __contextHandle_native, global::Interop.NetSecurityNative.PackageType __packageType_native, nint __cbt_native, int __cbtSize_native, nint __targetName_native, uint __reqFlags_native, byte* __inputBytes_native, int __inputLength_native, global::Interop.NetSecurityNative.GssBuffer* __token_native, uint* __retFlags_native, int* __isNtlmUsed_native);
src\runtime\src\libraries\Common\src\Interop\Unix\System.Net.Security.Native\Interop.NetSecurityNative.cs (5)
65PackageType packageType, 81PackageType packageType, 95PackageType packageType, 110PackageType packageType, 136PackageType packageType,
src\runtime\src\libraries\Common\src\Microsoft\Win32\SafeHandles\GssSafeHandles.cs (2)
94public static SafeGssCredHandle Create(string username, string password, Interop.NetSecurityNative.PackageType packageType) 96if (packageType == Interop.NetSecurityNative.PackageType.NTLM && !s_IsNtlmInstalled.Value)
System\Net\NegotiateAuthenticationPal.Unix.cs (10)
98private readonly Interop.NetSecurityNative.PackageType _packageType; 197if (_packageType == Interop.NetSecurityNative.PackageType.NTLM) 454private static Interop.NetSecurityNative.PackageType GetPackageType(string package) 458return Interop.NetSecurityNative.PackageType.Negotiate; 462return Interop.NetSecurityNative.PackageType.NTLM; 466return Interop.NetSecurityNative.PackageType.Kerberos; 563Interop.NetSecurityNative.PackageType.NTLM => "NTLM", 564Interop.NetSecurityNative.PackageType.Kerberos => "Kerberos", 633Interop.NetSecurityNative.PackageType.NTLM => "NTLM", 634Interop.NetSecurityNative.PackageType.Kerberos => "Kerberos",