This patch builds upon commit 96a8500795 which placed parts of Mono.Security
responsible for dealing with SSL/TLS certificates for the purpose of certificate verification. The code enables
validation of the certifcates even if the user does not provide their own validation callback. The changes as related to
the original commit are few, basically consisting of enabling the same code used by MonoTouch in the MonoDroid context with
the only actual code change being the certificate validation bit mentioned above.
Since the change involves adding a subset of Mono.Security files to the monodroid version of System.dll, it is
also necessary to remove Mono.Android's dependence on Mono.Security.dll. The reason is that the code in AndroidPlatform
which looks up TLS support methods in Mono.Android.dll would use a type (X509CertificateCollection) that is now part of
System.dll but is *also* in Mono.Security.dll referenced by Mono.Android.dll and therefore the lookup would fail since
we'd have two distinct types from the reflection point of view.
Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=18962
Modulo the GUID in the assembly and the GUID embedded in some
field initializers that use the assembly GUID for their name, the
assemblies are idential before and after the patch.
Allow parts required to enable SSL to be built with
In .:
2010-05-10 Sebastien Pouliot <[email protected]>
* moonlight_bootstrap_System.dll.sources: Minimal build for
bootstrap. Does not depend on corlib's internals
* moonlight_raw_System.dll.sources: Full raw (pre-tuned) build
for Moonlight - includes SSL code
* moonlight_shared_System.dll.sources: New. Parts that are both
needed for bootstrap and raw builds
svn path=/trunk/mcs/; revision=157066
* AsnEncodedData.cs:
* OidCollection.cs:
* Oid.cs:
* OidEnumerator.cs:
Allow parts required to enable SSL to be builtt with
the moonlight profile.
svn path=/trunk/mcs/; revision=157063
* Asn*.cs, Oid*.cs: Moved from System.Security.dll
2005-05-03 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Allow CopyFrom to work even without an OID.
2005-04-25 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Fix compiler warning (unused variable).
2005-01-20 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Added "internal" support for SubjectAltName
extension as it is required for SSL support.
* Oid.cs: Added Oid / FriendlyName definitions for SubjectAltName.
2005-01-17 Sebastien Pouliot <[email protected]>
* 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.
2005-01-13 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Completed/fixed implementation.
* Oid.cs: Fixed implementation with updated unit tests.
2004-07-08 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Fixes for Fx 2.0 beta 1 compatibility. Added
MonoTODO to missing functionalities.
* AsnEncodedDataCollection.cs: New.
* AsnEncodedDataEnumerator.cs: New.
2003-11-06 Sebastien Pouliot <[email protected]>
* 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=50766