Commit Graph
22 Commits
Author SHA1 Message Date
Sebastien Pouliot 29cbc706f4 Fixed decoding of PKCS/CMS message with detached ContentInfo. Pull request from Pablo Ruiz Garcia <[email protected]> 2011-07-25 09:58:14 -04:00
Jb Evain b3f3ef56c8 rename net_2_1 to moonlight
svn path=/trunk/mcs/; revision=153638
2010-03-16 08:32:37 +00:00
Marek Safar 2d36f50709 2009-06-05 Marek Safar <[email protected]>
* Makefile: Fixed NET_2_0 conditional to actually handle Mono.Security
	dependency.


svn path=/trunk/mcs/; revision=135540
2009-06-05 16:27:11 +00:00
Marek Safar 6f667408d9 Add handling of new net_4_0 profile
svn path=/trunk/mcs/; revision=135326
2009-06-03 17:46:12 +00:00
Gert Driesen 19098dd864 * XmlDsigXsltTranformTest.cs: Added test for .ctor (bool).
* XmlDsigEnvelopedTransformTest.cs: Added test for .ctor (bool). Use
Assert class. Improved properties tests.
* XmlDsigC14TransformTest.cs: Added test for .ctor (bool).
* XmlDsigExcC14NTransformTest.cs: Added .ctor tests and added asserts
IncludsiveNamespacesPrefixList
* XmlDsigExcC14NWithCommentsTransformTest.cs: Added basic .ctor and
properties tests.
* XmlDsigC14NWithCommentsTransformTest.cs: Fixed line endings.
* XmlLicenseTransformTest.cs: Added basic .ctor and properties tests.
* XmlDsigBase64Transform.cs: Use constant for Algorithm namespace.
* XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments
algorithm if includeComments is true. Assign includeNamespacesPrefixList
to instance field.
* XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary
assignment to Algorithm now that base ctor is fixed.
* XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment
to Algorithm now that base ctor is fixed.
* XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool).
In .ctor (bool), assign WithComments algorithm if includeComments is
true. Use constants for Algorithm namespace.
* XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm
namespace.
* XmlDsigXPathTransform.cs: Use constant for Algorithm namespace.
* XmlDsigXsltTransform.cs: Use constant for Algorithm namespace.
* XmlLicenseTransform.cs: Assign Algorithm in ctor.
* XmlSignature.cs: Added constant for XmlLicenseTransform algorithm.
* System.Security_test.dll.sources: Added XmlLicenseTransformTest.cs
and XmlDsigExcC14NWithCommentsTransformTest.cs.

svn path=/trunk/mcs/; revision=115803
2008-10-14 18:33:13 +00:00
Marek Safar c078a41672 2008-09-23 Marek Safar <[email protected]>
* Makefile: Don't override global debug flag.


svn path=/trunk/mcs/; revision=113868
2008-09-23 17:47:42 +00:00
Raja R Harinath 264c06c083 In .:
* Makefile (_boot_): Orchestrate the net_2_1 bootstrap.
	(net_2_1_bootstrap_SUBDIRS, net_2_1_raw_SUBDIRS): New.

In build:
	* profiles/net_2_1_bootstrap.make: New.
	* profiles/net_2_1_raw.make: New.  The untuned 2.1 profile.
	* profiles/net_2_1.make: New.  The tuned 2.1 profile.
	* Makefile (PROFILES): Update.

In class:
	* Makefile (net_3_5_dirs): Remove System.Xml.Linq, now that it's
	built in the 2.0 profile.

In class/System:
	* Makefile (CYCLIC_DEPS): New macro.
	(CYCLIC_DEP_FILES): Use it to clean up handling of cyclic dependencies.
	* net_2_1_raw_System.dll.sources: Rename from net_2_1_System.dll.sources.
	* net_2_1_bootstrap_System.dll.sources: New.

In class/corlib:
	* Makefile (LIBRARY_COMPILE) [net_2_1]: Remove special case.

In errors:
	* Makefile: Enable testing net_2_1 profile.

In mcs:
	* Makefile (GMCS_PROFILE): Remove.
	(COMPILER_NAME): New helper.

In tests:
	* Makefile: Enable smcs testing.

In tools:
	* Makefile (net_2_1_raw_SUBDIRS): New.

In tools/compiler-tester:
	* Makefile [PROFILE=net_2_1]: Copy file from net_2_1_raw profile.
	* compiler-tester.cs: Work better with 'net_2_1' profiles.

In tools/tuner:
	* Makefile: Improve.  Update to new net_2_1 profiles.  Specify
	more dependencies.  Do work only when necessary.
	* Descriptors/smcs.xml: Add CompilerCallableEntryPoint.

svn path=/trunk/mcs/; revision=95989
2008-02-17 17:54:22 +00:00
Marek Safar 2bf3bfd6c0 2007-06-12 Marek Safar <[email protected]>
* Makefile: Check only major framework version to do 2.x build.


svn path=/trunk/mcs/; revision=79315
2007-06-12 16:59:23 +00:00
Sebastien Pouliot f9313c73a5 2006-12-15 Sebastien Pouliot <[email protected]>
* Makefile: Execute PKITS tests only if the data is installed locally.
	See System.dll unit tests for details.
	* System.Security_test.dll.sources: Add some PKITS unit tests to the
	build.


svn path=/trunk/mcs/; revision=69543
2006-12-15 19:30:52 +00:00
Atsushi Eno 24da8a2f2a 2006-09-22 Atsushi Enomoto <[email protected]>
* EncryptedXml.cs : use Padding member instead of const ISO10126 (though
	  I doubt it should be there). Use it in DecryptData().

	* EncryptedXmlTest.cs, EncryptedXmlSample3.xml :
	  another decryption test for padding sanity.

	* Makefile:
	  Added Test/S.S.C.Xml/EncryptedXmlSample3.xml to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=65804
2006-09-22 04:32:02 +00:00
Atsushi Eno 5fa64e2d8c 2006-09-21 Atsushi Enomoto <[email protected]>
* Makefile: oops, syntax breakage.


svn path=/trunk/mcs/; revision=65767
2006-09-21 14:14:54 +00:00
Atsushi Eno 8d2ce38aae 2006-09-21 Atsushi Enomoto <[email protected]>
* EncryptedXml.cs :
	  Handle orthodox padding (xmlenc spec section 5.2). However, like 
	  EncryptedXmlSample1, it might not exist, so make it optional.

	* EncryptedXmlTest.cs, EncryptedXmlSample2.xml :
	  Added another case that expects correct padding processing which is 
	  specified in W3C xmlenc spec section 5.2.

	* Makefile:
	  Added Test/S.S.C.Xml/EncryptedXmlSample2.xml to EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=65766
2006-09-21 14:10:41 +00:00
Atsushi Eno eb9e570294 2006-09-21 Atsushi Enomoto <[email protected]>
* EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size
	  (or possibly IV size) in Transform(), but only for stripping the heading
	  n bytes garbage.

	* EncryptedXmlTest.cs : new file. Added practical example.
	* EncryptedXmlSample1.xml, sample.pfx : support files for the above test.

	* System.Security_test.dll.sources: added EncryptedXmlTest.cs.
	* Makefile: added some extra test support files as EXTRA_DISTFILES.


svn path=/trunk/mcs/; revision=65750
2006-09-21 07:25:48 +00:00
Sebastien Pouliot 79edec6fa6 Added new unit/CAS tests for System.Security.Cryptography namespace. Ignore some warnings during tests compilation. Added internal ManagedProtection class to the build.
svn path=/trunk/mcs/; revision=52001
2005-10-20 19:15:32 +00:00
Raja R Harinath c7a3756a9c Prettier commandlines
svn path=/trunk/mcs/; revision=49461
2005-09-05 10:28:32 +00:00
Miguel de Icaza b0f15ee596 Bring a wave of decency to these Makefiles
svn path=/trunk/mcs/; revision=47762
2005-07-27 17:44:56 +00:00
Sebastien Pouliot 8b5df6f80f reduce warnings when compiling unit tests
svn path=/trunk/mcs/; revision=43114
2005-04-16 19:04:13 +00:00
Raja R Harinath 0d10422236 * Makefile (LIB_MCS_FLAGS): Add reference to Mono.Security.dll
only in the NET 2.0 profile.  See 2004-07-07 entry.

svn path=/trunk/mcs/; revision=38416
2005-01-06 06:31:17 +00:00
Sebastien Pouliot 6eec88875f 2005-01-05 Sebastien Pouliot <[email protected]>
* 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
2005-01-05 15:42:50 +00:00
Sebastien Pouliot 677b25b099 2004-07-07 Sebastien Pouliot <[email protected]>
* 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
2004-07-07 19:48:25 +00:00
Sebastien Pouliot 980cad64ca 2004-03-22 Sebastien Pouliot <[email protected]>
* Makefile: Added /nowarn to cleanup display when building.

svn path=/trunk/mcs/; revision=24435
2004-03-22 20:52:45 +00:00
Gonzalo Paniagua Javier 3f761fefe4 New build system from Peter Williams ([email protected])
svn path=/trunk/mcs/; revision=16195
2003-07-14 11:38:40 +00:00