As part of #7589
- CoreFX import only for Windows platform (no support for non-Windows platforms, see https://github.com/dotnet/corefx/issues/22510)
- left Mono managed implementation for non-Windows platforms
- removed DataProtectionScope parameter value check (no such a check in CoreFX and NET Framework, see https://github.com/dotnet/corefx/pull/30726) and couple of related unit tests
- added CoreFX xunit tests
* Import System.Security.Cryptography.Pkcs from CoreFX.
* Change 'as' operator to a cast.
* Add missing EnvelopedCms overloads.
* Include CMS signing classes in all builds.
* [csproj] Update project files
* Add missing DSACertificateExtensions class.
* Update references.
* Rename EnvelopedCms.Overloads.cs to EnvelopedCms.cs.
* Enable some of the System.Security.Cryptography.Pkcs xunit tests.
* Update references.
* Bump API snapshot submodule
* Disable xunit tests that may depend on Windows PAL.
Contributes to https://github.com/mono/mono/issues/7589
* [System.IdentityModel] Add excludes for tests that don't compile on monodroid profile
Also add a new test for X509CertificateValidator so the assembly
isn't empty on monodroid.
* [System.ServiceModel] Add excludes for tests that don't compile on monodroid profile
* [System.Security] Add excludes for tests that don't compile on monodroid profile
Also reduce duplication between common.sources and System.Security.dll.sources
* [System.Web.Services] Add excludes for tests that don't compile on monodroid profile
* [System.ComponentModel.DataAnnotations] Make tests compile on monodroid profile
* Finalize the implementation of SignedXml.ComputeSignature().
The implementation was taken from Reference Source, which makes the behaviour of this method the same as in .NET Framework, as well as makes it possible to use custom signature descriptions.
2005-09-26 Sebastien Pouliot <[email protected]>
* Asn*.cs, Oid*.cs: Moved to System.dll
In Test/System.Security.Permissions:
2005-09-26 Sebastien Pouliot <[email protected]>
* StorePermissionAttributeTest.cs: Moved in System.dll
In Test/System.Security.Cryptography.X509Certificates:
2005-09-26 Sebastien Pouliot <[email protected]>
* All tests moved to System.dll assembly.
In System.Security.Cryptography:
2005-09-26 Sebastien Pouliot <[email protected]>
* Asn*.cs, Oid*.cs: Moved to System.dll
In System.Security.Permissions:
2005-09-26 Sebastien Pouliot <[email protected]>
* Store*.cs: Moved in System.dll
In .:
2005-09-26 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Remove all X509 related classes.
* System.Security_test.dll.sources: Remove all X509 related tests.
* System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.
* Test/System.Security.Cryptography.X509Certificates/*.cs: moved to
System.dll assembly.
In System.Security.Cryptography.X509Certificates:
2005-09-26 Sebastien Pouliot <[email protected]>
* All classes moved in System.dll
svn path=/trunk/mcs/; revision=50770
* System.Security.dll.sources: Added IRelDecryptor interface and
XmlLicenseTransform class to System.Security.Cryptography.Xml (2.0).
svn path=/trunk/mcs/; revision=43540
* System.Security.dll.sources: added XmlSignatureStreamReader.cs.
* XmlSignatureStreamReader.cs : new file. Handles Stream to rip CR off.
* XmlDsigXPathTransform.cs,
XmlDecryptionTransform.cs,
XmlDsigC14NTransform.cs,
XmlDsigEnvelopedSignatureTransform.cs,
XmlDsigXsltTransform.cs : use XmlSignatureStreamReader for Streams.
* XmlCanonicalizer.cs : don't rip 
 off here.
* XmlDsigC14NTransformTest.cs :
Reverted last change in LoadInputAsXmlNodeList2(). It is MS bug.
It now handles Load() behavioral difference between Stream and
XmlDocument as expected.
* Makefile : Fixed reference to Mono.Security.dll. Added decent-reader
option that indicates to use CR ('\r') stripping TextReader.
* xmldsig.cs : use CR-stripping TextReader (optionally).
svn path=/trunk/mcs/; revision=42525
* System.Security.dll.sources: Added System.Security.Cryptography.
X509Certificates/X509EnhancedKeyUsageExtension.cs and
X509SubjectKeyIdentifierHashAlgorithm.cs to the build.
* System.Security_test.dll.sources: Added System.Security.Cryptography
.Pkcs/Pkcs9ContentTypeTest.cs, Pkcs9MessageDigestTest.cs and System.
Security.Cryptography.X509Certificates/X509BasicConstraintsExtensionTest.cs,
X509EnhancedKeyUsageExtensionTest.cs, X509ExtensionTest.cs,
X509KeyUsageExtensionTest.cs and X509SubjectKeyIdentifierExtensionTest.cs
to the unit test assembly.
svn path=/trunk/mcs/; revision=39055
* Makefile: Don't ignore the CS0119 warnings (private field not used)
when building the assembly (the code is already clean for this).
* System.Security.dll.sources: Add DataProtectionPermission, Attribute
and Flags to the assembly (moved from corlib).
* System.Security_test.dll.sources: Add DataProtectionPermission
Attribute unit tests (moved from corlib unit tests).
svn path=/trunk/mcs/; revision=38362
* System.Security.dll.sources: Added System.Security.Cryptography/
ProtectedData.cs, ProtectedMemory.cs, DataProtectionScope.cs and
MemoryProtectionScope.cs as they been moved from mscorlib to here.
* System.Security_test.dll.sources : Added Test/System.Security.
Cryptography/ProtectedDataTest.cs and ProtectedMemoryTest.cs for the
same reason.
svn path=/trunk/mcs/; revision=38060
* Makefile: Added a reference to Mono.Security because we'll require
many class from it for the NET_2_0 profile - but it would be better
not to have the dependency for NET_1_1.
* System.Security.dll.sources: Added a lot of existing classes (from
1.2 documentation) that were never compiled.
svn path=/trunk/mcs/; revision=30857