Commit Graph
46 Commits
Author SHA1 Message Date
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
Sebastien Pouliot 54587bcdea 2008-11-01 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Add new tests to build
		System.Security.Cryptography.Pkcs/CmsRecipientCollectionTest.cs
		System.Security.Cryptography.Xml/TransformTest.cs
		System.Security.Cryptography.Xml/XmlDecryptionTransformTest.cs


svn path=/trunk/mcs/; revision=117623
2008-11-02 00:29:40 +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
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
Atsushi Eno a0c14ae0ea 2007-01-17 Atsushi Enomoto <[email protected]>
* XmlCanonicalizer.cs : don't output default namespace when the node's
	  namespace is not empty. Check "visibly utilized" namespace nodes in
	  exc-c14n. Also, in exc-c14n, rendered namespaces are not written.
	  Added InclusiveNamespaces PrefixList field (not in use yet).

	* XmlDsigExcC14NTransform.cs :
	  re-imported from XmlDsigC14NTransform.cs.

	* System.Security_test.dll.sources : added
	  XmlDsigExcC14NTransformTest.cs.

	* XmlDsigExcC14NTransformTest.cs : new tests, mostly copied from
	  non-exc test.

	* xmldsig.cs : exc-c14n tests could be run under 2.0 profile (and
	  they are not working correctly yet).
	* Makefile : Added net_2_0 profile support.


svn path=/trunk/mcs/; revision=71220
2007-01-17 17:30:12 +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
Sebastien Pouliot a7fa1e7330 2006-11-08 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added unit and CAS tests for 
	System.Security.Cryptography.X509Certificates.X509Certificate2UI


svn path=/trunk/mcs/; revision=67535
2006-11-08 14:52:43 +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
Atsushi Eno 690296b936 2006-09-06 Atsushi Enomoto <[email protected]>
* CipherReference.cs, EncryptedReference.cs : unify duplicate code.
	  Remove incorrect name check in the latter class so that it works
	  for DataReference and KeyReference as well.

	* DataReferenceTest.cs : new test.

	* System.Security_test.dll.sources: added DataReferenceTest.cs.


svn path=/trunk/mcs/; revision=64990
2006-09-06 10:30:58 +00:00
Sebastien Pouliot 6a080fe2bd In Test/System.Security.Cryptography:
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
2005-09-26 14:08:58 +00:00
Sebastien Pouliot d692be14f4 2005-05-18 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added unit tests for System.
	Security.Permissions.StorePermissionAttribute class.


svn path=/trunk/mcs/; revision=44673
2005-05-18 11:58:54 +00:00
Sebastien Pouliot c408ffa245 2005-05-03 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added unit tests for System.
	Security.Cryptography.Pkcs.SignerInfoCollection class.


svn path=/trunk/mcs/; revision=43972
2005-05-03 17:58:08 +00:00
Sebastien Pouliot 9ff9d2687a 2005-04-25 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added IRelDecryptor interface and 
	XmlLicenseTransform class to System.Security.Cryptography.Xml (2.0).


svn path=/trunk/mcs/; revision=43540
2005-04-25 11:55:08 +00:00
Sebastien Pouliot ae86d43bf9 2005-04-23 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added StorePermission and 
	StorePermissionAttribute to System.Security.Permissions (2.0).


svn path=/trunk/mcs/; revision=43477
2005-04-23 13:09:01 +00:00
Atsushi Eno b321edc78e 2005-04-04 Atsushi Enomoto <[email protected]>
* 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 &#xD; 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
2005-04-04 14:39:38 +00:00
Sebastien Pouliot 26af24ffb3 2005-01-17 Sebastien Pouliot <[email protected]>
* 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
2005-01-17 21:37:48 +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 bbc7ffba39 2004-12-23 Sebastien Pouliot <[email protected]>
* 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
2004-12-23 13:50:47 +00:00
Tim Coleman 23904d6cb9 2004-09-04 Tim Coleman <[email protected]>
* System.Security.dll.sources:
                Add new System.Security.Cryptography.Pkcs classes.

svn path=/trunk/mcs/; revision=33349
2004-09-04 20:00:16 +00:00
Tim Coleman bc49ae5dc8 2004-09-03 Tim Coleman <[email protected]>
* System.Security.dll.sources:
                Add new System.Security.Cryptography.X509Certificates classes

svn path=/trunk/mcs/; revision=33284
2004-09-03 14:25:07 +00:00
Tim Coleman 0b3a40976b 2004-09-02 Tim Coleman <[email protected]>
* System.Security.dll.sources:
                Add new System.Security.Cryptography.Xml classes

svn path=/trunk/mcs/; revision=33235
2004-09-02 17:19:23 +00:00
Sebastien Pouliot 1620eac119 2004-07-09 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Fixed unit tests to work with Fx
	2.0 beta 1.

svn path=/trunk/mcs/; revision=30949
2004-07-09 15:05:12 +00:00
Sebastien Pouliot 3a6e1b6b60 2004-07-08 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Fixed classes to match Fx 2.0 beta 1.

svn path=/trunk/mcs/; revision=30910
2004-07-09 02:10:52 +00:00
Sebastien Pouliot b47097ea6a 2004-07-07 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added a lot of existing tests
	(from 1.2 documentation) that were never compiled.

svn path=/trunk/mcs/; revision=30859
2004-07-07 20:00:39 +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 39a2e843aa 2004-03-26 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added internal class Manifest.

svn path=/trunk/mcs/; revision=24647
2004-03-26 21:16:36 +00:00
Atsushi Eno fccfc83559 2004-03-26 Atsushi Enomoto <[email protected]>
* System.Security_test.dll.sources :
	  Added XmlDsigEnvelopedSignatureTest.cs.

svn path=/trunk/mcs/; revision=24640
2004-03-26 16:24:04 +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
Atsushi Eno 834ae735cf 2004-03-16 Atsushi Enomoto <[email protected]>
* System.Security.dll.sources: added XmlDsigNodeList.cs

svn path=/trunk/mcs/; revision=24121
2004-03-16 11:44:00 +00:00
Tim Coleman d9668b1667 2004-02-19 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml.SymmetricKeyWrap

svn path=/trunk/mcs/; revision=23254
2004-02-19 15:49:37 +00:00
Sebastien Pouliot ce4af61c71 2004-02-11 Sebastien Pouliot <[email protected]>
* System.Security_test.dll.sources: Added unit tests for
	XmlDsigXPathTransform.

svn path=/trunk/mcs/; revision=22987
2004-02-11 18:59:24 +00:00
Tim Coleman 4fa780dfa7 2004-02-10 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml classes.

svn path=/trunk/mcs/; revision=22963
2004-02-10 22:56:35 +00:00
Tim Coleman 7ac0d7be70 2004-02-07 Tim Coleman <[email protected]>
* System.Security.dll.sources: Add new
                System.Security.Cryptography.Xml classes.

svn path=/trunk/mcs/; revision=22850
2004-02-07 05:03:34 +00:00
Sebastien Pouliot 964f1a03ea 2004-01-11 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added AssemblyInfo.cs and Locale.cs.

svn path=/trunk/mcs/; revision=21964
2004-01-12 01:30:01 +00:00
Sebastien Pouliot 3a3ef3d961 2003-07-24 Sebastien Pouliot <[email protected]>
* System.Security.dll.sources: Added new Mono.Xml.XmlCanonicalizer.cs
	from Aleksey Sanin.

svn path=/trunk/mcs/; revision=16635
2003-07-25 00:23:29 +00:00
Sebastien Pouliot cf3674f046 2003-03-04 Sebastien Pouliot <[email protected]>
* System.Security.build: Added a new output System.Security_cmp.dll
	which links with mscorlib. This version is to be used to generate
	the class status web page (required for CorCompare).

svn path=/trunk/mcs/; revision=12200
2003-03-04 23:35:13 +00:00
Sebastien Pouliot ef46767f99 2003-03-03 Sebastien Pouliot <[email protected]>
* System.Security.build: Updated build file to stop linking with
	MS assemblies (and like with Mono's corlib instead).

svn path=/trunk/mcs/; revision=12157
2003-03-03 22:42:35 +00:00
Sebastien Pouliot a89d081fef 2003-03-02 Sebastien Pouliot <[email protected]>
* list.unix: Added XmlSignature.cs.

svn path=/trunk/mcs/; revision=12103
2003-03-02 16:13:14 +00:00
Sebastien Pouliot 381b6f1ebb 2003-01-17 Sebastien Pouliot <[email protected]>
* System.Security.build: Simplified and fixed some issues.

svn path=/trunk/mcs/; revision=10638
2003-01-18 01:04:11 +00:00
Sebastien Pouliot bc38c9ad3b 2002-11-28 Sebastien Pouliot <[email protected]>
* System.Security.build: New. Nant build file for Windows.

svn path=/trunk/mcs/; revision=9241
2002-11-29 02:39:35 +00:00