Split ICertificatePal across the needs for X509Certificate and X509Certificate2
authorFilip Navara <filip.navara@gmail.com>
Thu, 26 Jul 2018 14:40:28 +0000 (16:40 +0200)
committerJeremy Barton <jbarton@microsoft.com>
Thu, 26 Jul 2018 14:40:28 +0000 (07:40 -0700)
commitad2a4108550fe901a009a3b6a77b3371962c1936
treeb3fcbf5c68ef9c859938ceb03d045ca050a58c10
parentf02d2a200d34bbb97f9a1eb24041e981ca4644c1
Split ICertificatePal across the needs for X509Certificate and X509Certificate2

Facilitates Mono code reuse, where the two classes (and their PAL interfaces) are in different assemblies.

Commit migrated from https://github.com/dotnet/corefx/commit/963e4ffe9e39d29723899823d04e79321d594221
13 files changed:
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/ICertificatePal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/ICertificatePalCore.cs [new file with mode: 0644]
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/CertificatePal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/StorePal.ExportPal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.OSX/StorePal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/ExportProvider.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/OpenSslX509CertificateReader.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Unix/StorePal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/CertificatePal.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/Pal.Windows/StorePal.Import.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/System.Security.Cryptography.X509Certificates.csproj
src/libraries/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/X509Certificate2.cs