7 references to HashName
System.IdentityModel (7)
System\IdentityModel\RsaSignatureCookieTransform.cs (7)
190
using (HashAlgorithm hash = CryptoHelper.CreateHashAlgorithm(
HashName
))
210
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.ID6035,
HashName
, verificationKeys[0].GetType().FullName), e));
263
using (HashAlgorithm hash = CryptoHelper.CreateHashAlgorithm(
HashName
))
282
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.GetString(SR.ID6035,
HashName
, signingKey.GetType().FullName), e));
348
return (StringComparer.OrdinalIgnoreCase.Equals(
HashName
, "SHA256")
349
|| StringComparer.OrdinalIgnoreCase.Equals(
HashName
, "SHA-256")
350
|| StringComparer.OrdinalIgnoreCase.Equals(
HashName
, "System.Security.Cryptography.SHA256"));