Use CryptoConfig.MapNameToOid instead of OID.FromFriendlyName
authorMartin Baulig <mabaul@microsoft.com>
Mon, 27 Aug 2018 13:16:52 +0000 (15:16 +0200)
committerJeremy Barton <jbarton@microsoft.com>
Mon, 27 Aug 2018 13:16:52 +0000 (06:16 -0700)
commitd110887d142a896d2a9f37aede6363724ffb69a1
tree811a13e515656293c5d5358f87beb3ff6bc76433
parent78567af56c1f17cc2664a341c69c6018e95d980f
Use CryptoConfig.MapNameToOid instead of OID.FromFriendlyName

This is functionally the same, but helps Mono with a layering problem.

Commit migrated from https://github.com/dotnet/corefx/commit/58a310782b805df19a3939b12544c39296db5ed3
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSAPKCS1SignatureDeformatter.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSAPKCS1SignatureFormatter.cs