Allocate less with X500DistinguishedName
authorKevin Jones <kevin@vcsjones.com>
Thu, 19 May 2022 16:22:12 +0000 (12:22 -0400)
committerGitHub <noreply@github.com>
Thu, 19 May 2022 16:22:12 +0000 (09:22 -0700)
commit42fc9b611c445bb63e3e3fed8848e896fd3a51c0
treee9373de5675f7c6e351ce0149612be41c1a5a66c
parentf8f6c057e6249a90f125c2aa0a7087d7ffc9983b
Allocate less with X500DistinguishedName

This cleanup happens to break parsing strings like OID.STREET=something on macOS and Linux, which was not an intentional feature.

It's not expected that this functionality was ever utilized, and it doesn't work on Windows (or .NET Framework).
src/libraries/System.Security.Cryptography.X509Certificates/tests/X500DistinguishedNameEncodingTests.cs
src/libraries/System.Security.Cryptography/src/System.Security.Cryptography.csproj
src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X500NameEncoder.ManagedDecode.cs
src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/X500NameEncoder.cs