Remove octet string wrapping from EnvelopedCms
authorKevin Jones <kevin@vcsjones.com>
Fri, 12 Apr 2019 01:20:23 +0000 (21:20 -0400)
committerJeremy Barton <jbarton@microsoft.com>
Fri, 12 Apr 2019 01:20:23 +0000 (18:20 -0700)
commit28f5ceeb5c000fc2010de076e3bae8d85e18760a
treef90a3738850c2dddb69acca7d344050eeba721de
parent4484947e53370d281c2c224f27855af8a40c3099
Remove octet string wrapping from EnvelopedCms

Removes the octet string wrapping from EnvelopedCms encrypt if the content type is id-data.

Commit migrated from https://github.com/dotnet/corefx/commit/2cd5d08337a7c5fadf90c7d2a571cc18709601d2
src/libraries/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/AnyOS/ManagedPal.Decrypt.cs
src/libraries/System.Security.Cryptography.Pkcs/src/Internal/Cryptography/Pal/AnyOS/ManagedPal.Encrypt.cs
src/libraries/System.Security.Cryptography.Pkcs/tests/EnvelopedCms/GeneralTests.cs