Commit Graph
11 Commits
Author SHA1 Message Date
Sebastien Pouliot bd6370ad74 2008-11-01 Sebastien Pouliot <[email protected]>
* EncryptedXml.cs: Add proper null check inside methods.
	* SignedXml.cs: GetIdElement returns null if either of its parameter
	is null.
	* Transform.cs: Comment compatibility-NRE in GetDigestedOutput.
	* XmlDecryptionTransform.cs: IsTargetElement returns null if either
	of its parameter is null.
	* XmlDsigC14NTransform.cs: Comment compatibility-NRE in 
	GetDigestedOutput.
	* XmlDsigExcC14NTransform.cs: Comment compatibility-NRE in 
	GetDigestedOutput.
	[Found using Gendarme CheckParametersNullityInVisibleMethodsRule]


svn path=/trunk/mcs/; revision=117622
2008-11-02 00:25:45 +00:00
Sebastien Pouliot 5ae85e3077 2008-06-28 Sebastien Pouliot <[email protected]>
* XmlDecryptionTransform.cs,
	* XmlDsigC14NTransform.cs,
	* XmlDsigEnvelopedSignatureTransform.cs,
	* XmlDsigExcC14NTransform.cs,
	* XmlDsigXsltTransform.cs: Replace Type.GetType("x") into typeof(x)
	[Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]


svn path=/trunk/mcs/; revision=106840
2008-06-28 19:22:09 +00:00
Sebastien Pouliot 6341269da0 2008-05-25 Sebastien Pouliot <[email protected]>
* XmlDecryptionTransform.cs,
	* XmlDsigBase64Transform.cs,
	* XmlDsigC14NTransform.cs,
	* XmlDsigEnvelopedSignatureTransform.cs,
	* XmlDsigExcC14NTransform.cs,
	* XmlDsigXPathTransform.cs,
	* XmlDsigXsltTransform.cs,
	* XmlLicenseTransform.cs: Don't use lock(this). In fact remove locking
	since the worse that can happen is two copies of the same data.
	[Found using Gendarme]


svn path=/trunk/mcs/; revision=104039
2008-05-25 21:52:19 +00:00
Sebastien Pouliot 7be5c07990 2005-04-25 Sebastien Pouliot <[email protected]>
* EncryptedData.cs: Avoid re-creating collection object on load.
	* EncryptedKey.cs: Fix compiler warning (unused variables).
	* EncryptedType.cs: Remove set on EncryptionProperties property.
	* IRelDecryptor.cs: New. Interface for XrML support.
	* SymmetricKeyWrap.cs: Comment unused static method Xor(byte[],int).
	* XmlDecryptionTransform.cs: Fix compiler warning (unused variable).
	* XmlDsigEnvelopedSignatureTransform.cs: Fix compiler warning.
	* XmlLicenseTransform.cs: New. Class for XrML support.


svn path=/trunk/mcs/; revision=43539
2005-04-25 11:52:50 +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
Tim Coleman 7a2da46ad9 2004-09-04 Tim Coleman <[email protected]>
* XmlDecryptionTransform.cs:
                Implement rudimentary xpointer support for Except URIs.

svn path=/trunk/mcs/; revision=33348
2004-09-04 19:59:02 +00:00
Tim Coleman a80897d945 2004-09-03 Tim Colmean <[email protected]>
* EncryptedXml.cs: Add support for RSA for key formatting
        * Reference.cs: Include XmlDecryptionTransform
        * SignedXml.cs:
                Set the EncryptedKey on the XmlDecryptionTransform when
                loading XML
        * XmlDecryptionTransform.cs:
                Clean up decryption transformation to work without ugly hack.
        * XmlDsigExcC14NTransform.cs:
                Add algorithm identifier.
        * XmlSignature.cs:
                Add namespaces for various classes.

svn path=/trunk/mcs/; revision=33317
2004-09-03 22:06:23 +00:00
Tim Coleman 16a536b789 2004-09-02 Tim Coleman <[email protected]>
* CipherReference.cs: Add XmlDecryptionTransform for 2.0
        * EncryptedType.cs: Fix type initialization to conform to .NET
        * EncryptedXml.cs:
                Add support for RSA key decryption and "cloning" for Transform
        * KeyInfoX509Data Reference.cs SignedInfo.cs XmlDsigC14NTransform.cs:
                Add 2.0 stubs
        * Signature.cs:
                Create internal GetXml function if we already have a doc
        * SignedXml.cs: Fix the transformation when we get an XmlDocument out
        * XmlDecryptionTransform.cs: Implemented Xml Decryption
        * XmlSignature.cs: Add namespace for Xml Decryption

svn path=/trunk/mcs/; revision=33236
2004-09-02 17:20:35 +00:00
Duncan Mak 25e1e7ccfd Add MIT license to System.Security.DLL
svn path=/trunk/mcs/; revision=30060
2004-06-21 18:32:17 +00:00
Martin Baulig dfedf08d98 2004-04-22 Martin Baulig <[email protected]>
Renamed the `NET_1_2' conditional to `NET_2_0' in all files.

svn path=/trunk/mcs/; revision=25877
2004-04-23 02:24:02 +00:00
Tim Coleman da4f97eae4 2004-02-10 Tim Coleman <[email protected]>
* DataReference.cs EncryptedKey.cs EncryptedXml.cs
        * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
        * X509IssuerSerial.cs XmlDecryptionTransform.cs:
                Add new classes for Xml Encryption in 1.2
        * CipherData.cs CipherReference.cs EncryptedData.cs
        * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
                Change NamespaceURI reference to EncryptedXml class.
                Make compliant with 1.2
        * XmlEncryption.cs:
                Add new entity names.

svn path=/trunk/mcs/; revision=22962
2004-02-10 22:55:52 +00:00