Added SHA2 OAEP decryption support for EnvelopedCms CEK.
authorKevin Jones <kevin@vcsjones.com>
Thu, 3 Jan 2019 06:18:19 +0000 (01:18 -0500)
committerKevin Jones <kevin@vcsjones.com>
Fri, 4 Jan 2019 04:58:33 +0000 (23:58 -0500)
commita78ea8afde7b4c6171bcf32b4e3af57cb7b1c4b8
tree42e70bcdbea14f4ab017e77db396b257eb640025
parent1d9a9b24491bdfc50e56c1d21a2a69ef03ee6969
Added SHA2 OAEP decryption support for EnvelopedCms CEK.

Fixes dotnet/corefx#32913.

Commit migrated from https://github.com/dotnet/corefx/commit/1de58afa5edd914cbc50cb2cbcf87cc4278b10b8
src/libraries/Common/src/System/Security/Cryptography/Asn1/OaepParamsAsn.xml [new file with mode: 0644]
src/libraries/Common/src/System/Security/Cryptography/Asn1/OaepParamsAsn.xml.cs [new file with mode: 0644]
src/libraries/Common/src/System/Security/Cryptography/Oids.cs
src/libraries/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/AnyOS/ManagedPal.KeyTrans.cs
src/libraries/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/Windows/DecryptorPalWindows.Decrypt.cs
src/libraries/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/Windows/HelpersWindows.cs
src/libraries/System.Security.Cryptography.Pkcs/src/System.Security.Cryptography.Pkcs.csproj
src/libraries/System.Security.Cryptography.Pkcs/tests/Certificates.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/DecryptTests.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/DecryptTestsUsingExplicitPrivateKey.cs