Provide PEM implementations for AsymmetricAlgorithm.
authorKevin Jones <kevin@vcsjones.com>
Tue, 9 Nov 2021 08:04:25 +0000 (03:04 -0500)
committerGitHub <noreply@github.com>
Tue, 9 Nov 2021 08:04:25 +0000 (00:04 -0800)
commitd39d805951d58e786ec08488b7f5d52fdb2a80f1
tree00d6d4b12a0ec1d8dc59224be0e3206b501b98d0
parent920a4a32717eda6761111022f81005893f712267
Provide PEM implementations for AsymmetricAlgorithm.

Now that the Encoding and Primitive assemblies are unified, an implementation
for PKCS#8 and SPKI keys can be provided in the abstract AsymmetricAlgorithm.
Derived types will continue to override these members to provide support
for additional PEM labels.
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/DSA.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/ECDiffieHellman.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/ECDsa.cs
src/libraries/System.Security.Cryptography.Algorithms/src/System/Security/Cryptography/RSA.cs
src/libraries/System.Security.Cryptography/src/Resources/Strings.resx
src/libraries/System.Security.Cryptography/src/System.Security.Cryptography.csproj
src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/AsymmetricAlgorithm.cs
src/libraries/System.Security.Cryptography/tests/AsymmetricAlgorithmTests.cs [new file with mode: 0644]
src/libraries/System.Security.Cryptography/tests/System.Security.Cryptography.Tests.csproj