System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (11)
46bool isAlgorithmSpecified = digestResponse.Parameters.TryGetValue(Algorithm, out algorithm);
65if (!digestResponse.Parameters.TryGetValue(Nonce, out nonce))
73digestResponse.Parameters.TryGetValue(Opaque, out opaque);
76if (!digestResponse.Parameters.TryGetValue(Realm, out realm))
84if (digestResponse.Parameters.TryGetValue(UserHash, out userhash) && userhash == "true")
114bool isQopSpecified = digestResponse.Parameters.ContainsKey(Qop);
118int index1 = digestResponse.Parameters[Qop].IndexOf(AuthInt, StringComparison.Ordinal);
122int index2 = digestResponse.Parameters[Qop].IndexOf(Auth, StringComparison.Ordinal);
128index2 = digestResponse.Parameters[Qop].IndexOf(Auth, index1 + AuthInt.Length, StringComparison.Ordinal);
203return digestResponse.Parameters.TryGetValue(Stale, out string? stale) && stale == "true";
410Parameters.Add(key, value);