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
This is a scripted conversion of mixed line-ending files to LF-only or CRLF-only
based on which patch is smaller. I used a threshold of upto a quarter of the
lines to determine whether to keep the patch or not.
This set of .gitattributes was automatically generated from the list of files
that GIT tried to normalize when I enabled automatic EOL conversion.
With this set of attributes, we prevent automated EOL conversion on files that
we know will cause trouble down the road.
* ProtectedData.cs: Added support for Windows (2000 and later) by
p/invoking DPAPI thru Mono.Security.Cryptography.NativeDapiProtection.
svn path=/trunk/mcs/; revision=52282
* CryptographicAttributeCollection.cs: Fixed Add and Remove methods.
* ProtectedMemory.cs: Implemented (unmanaged) for Windows only.
* ProtectedData.cs: Implemented for everything except Windows ;-) by
using the new ManagedProtection class.
svn path=/trunk/mcs/; revision=52000
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
* CryptographicAttribute.cs: Renamed class to CryptographicAttribute
Object to match beta2.
* CryptographicAttributeCollection.cs: Renamed class to Cryptographic
AttributeObjectCollection to match beta2.
* CryptographicAttributeEnumerator.cs: Renamed class to Cryptographic
AttributeObjectEnumerator to match beta2.
svn path=/trunk/mcs/; revision=43478
* AsnEncodedData.cs: Added "internal" support for SubjectAltName
extension as it is required for SSL support.
* Oid.cs: Added Oid / FriendlyName definitions for SubjectAltName.
svn path=/trunk/mcs/; revision=39294
* AsnEncodedData.cs: Added more decoding/formatting code as this class
is far more intelligent (or bloated) than anticipated.
* Oid.cs: Added more Oid / FriendlyName definitions required for the
X.509 extensions and some more for some failing unit tests.
* OidCollection.cs: Added support to make the collection read-only.
svn path=/trunk/mcs/; revision=39051
* 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
* AsnEncodedData.cs: New. Class to encapsulate ASN.1 data (.NET 1.2).
* Oid.cs: New. Class to encapsulate OIDs (.NET 1.2).
* OidCollection.cs: New. ICollection based class for OIDs (.NET 1.2).
* OidEnumerator.cs: New. IEnumerator based class for OIDs (.NET 1.2).
svn path=/trunk/mcs/; revision=19701