Bug 40646

Summary: Oid and FriendlyName for sha384
Product: [Mono] Class Libraries Reporter: Hin-Tak Leung <htl10>
Component: System.SecurityAssignee: Marek Safar <masafa>
Status: RESOLVED FIXED    
Severity: normal CC: masafa, mono-bugs+mono
Priority: ---    
Version: master   
Target Milestone: Untriaged   
Hardware: PC   
OS: Windows   
Tags: Is this bug a regression?: ---
Last known good build:

Description Hin-Tak Leung 2016-04-22 19:57:32 UTC
mono/mcs/class/System/System.Security.Cryptography/Oid.cs

around line 115, have sha256 and sha512, but not sha384.

The needed addition is simply these two lines:

		internal const string oidSha384 = "2.16.840.1.101.3.4.2.2";
		internal const string nameSha384 = "sha384";

I filed and mentioned this, because sha384 is the last of the 5 which does not currently has a Oid/FriendlyName mapping in mono, of all the valid inputs to HashAlgorithm.Create()
Comment 1 Marek Safar 2016-05-05 07:20:09 UTC
Fixed in master