18 Commits
Author SHA1 Message Date
Maxim Lipnin 147278200c CoreFX import for AsnEncodedDataCollection and AsnEncodedDataEnumerator types 2018-06-26 16:14:57 +02:00
Marek Safar 4a6e5d24e1 [System] Oid from referencesource. Fixes #40646 and other incompabilities 2016-05-04 23:59:22 +02:00
Alexander Köplinger b03e606287 Remove ChangeLog files from the repo
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2016-01-29 19:17:06 +01:00
Martin Baulig 9fa16c3adc [System]: Only use the 'MONO_SECURITY_ALIAS' conditional to determine whether or not to use 'extern alias MonoSecurity'. 2016-01-05 16:19:35 +00:00
Marek Safar 04114a5e9d [Facades] Add v3 facades 2015-07-16 17:32:04 +02:00
Khoa Nguyen 2ed62415b6 Support more oids: aes128, aes256, sha256, sha512 2015-04-02 10:50:43 -05:00
Marek Habersack 34fb07d05f Include support for SSL/TLS right in System when building for the MONODROID profile
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
2014-04-25 21:39:53 +02:00
Sebastien Pouliot 96a8500795 Allow the MONOTOUCH targetr to build its SSL/TLS support right inside System.dll and remove code duplication and non-required code paths. 2013-07-01 16:21:04 -04:00
Marek Safar 3b058f0680 Redirect more duplicate security types to Mono.Security 2013-04-05 11:15:25 +02:00
Rodrigo Kumpera 5007c14d62 Kill the MOONLIGHT define in System. 2013-02-11 13:01:11 -05:00
Miguel de Icaza f48ceb9860 [System] Removal of the NET_2_0 in the source code
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.
2012-06-02 13:16:40 -04:00
Sebastien Pouliot 4b5836c6c5 In System.Security.Cryptography:
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
2010-05-10 20:16:59 +00:00
Sebastien Pouliot 4bf912a74b 2010-05-10 Sebastien Pouliot <[email protected]>
* 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
2010-05-10 20:10:33 +00:00
Sebastien Pouliot 02f1b2cc94 2005-11-22 Sebastien Pouliot <[email protected]>
* AsnEncodedData.cs: Create a new Oid instance _only_ if the supplied
	Oid isn't null.


svn path=/trunk/mcs/; revision=53353
2005-11-22 18:43:09 +00:00
Sebastien Pouliot 2d9a979ce7 2005-09-27 Sebastien Pouliot <[email protected]>
* AsnEncodedDataCollection.cs: Added new ctor.


svn path=/trunk/mcs/; revision=50849
2005-09-27 13:11:19 +00:00
Sebastien Pouliot 54310ba127 Don't include those classes on the initial compilation as Mono.Security.dll isn't yet available.
svn path=/trunk/mcs/; revision=50777
2005-09-26 15:21:38 +00:00
Sebastien Pouliot cb0aff392f Don't include those classes on the initial compilation as Mono.Security.dll isn't yet available.
svn path=/trunk/mcs/; revision=50775
2005-09-26 15:05:49 +00:00
Sebastien Pouliot 14f12a8261 2005-09-26 Sebastien Pouliot <[email protected]>
* 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
2005-09-26 14:05:09 +00:00