Add support for reading/writing key files for explicit parameter ECC
authorJeremy Barton <jbarton@microsoft.com>
Wed, 9 Oct 2019 05:56:00 +0000 (22:56 -0700)
committerGitHub <noreply@github.com>
Wed, 9 Oct 2019 05:56:00 +0000 (22:56 -0700)
commit59e6458a2ea1f71bdfde7f290d341bf33231f4e0
tree7c3ef92cddef44237555d7c60de2d7f407a98b8d
parent108bf6bbf767c028d3714ad434e1d7c8e2068eac
Add support for reading/writing key files for explicit parameter ECC

Add support for reading/writing key files for explicit parameter ECC

* Prime curves
  * ECPrivateKey
  * Pkcs8
  * EncryptedPkcs8
  * SubjectPublicKeyInfo
* Characteristic-2 curves
  * ECPrivateKey
  * Pkcs8
  * EncryptedPkcs8
  * SubjectPublicKeyInfo

Commit migrated from https://github.com/dotnet/corefx/commit/a7ee8cdccce7d2607d58f9b93ce319209a238f7a
src/libraries/Common/src/System/Security/Cryptography/Asn1/SpecifiedECDomain.xml
src/libraries/Common/src/System/Security/Cryptography/Asn1/SpecifiedECDomain.xml.cs
src/libraries/Common/src/System/Security/Cryptography/EccKeyFormatHelper.cs
src/libraries/Common/src/System/Security/Cryptography/KeyBlobHelpers.cs
src/libraries/Common/src/System/Security/Cryptography/Oids.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/ECKeyFileTests.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/EccTestBase.cs
src/libraries/Common/tests/System/Security/Cryptography/AlgorithmImplementations/EC/EccTestData.cs
src/libraries/System.Security.Cryptography.X509Certificates/src/Resources/Strings.resx