Commit Graph
12 Commits
Author SHA1 Message Date
Sebastien Pouliot 801c89f75e 2005-04-24 Sebastien Pouliot <[email protected]>
* SignedInfo.cs: Added [ComVisible (false)] to new property.
	* SignedXml.cs: Added [ComVisible (false)] to new properties and 
	methods.
	* ReferenceList.cs: Fixed members signatures for beta2.
	* Reference.cs: Added [ComVisible (false)] to new set_TransformChain.
	* EncryptedType.cs: Fix compilation with EncryptionPropertyCollection
	changes.
	* DataObject.cs: Fix compilation warnings.
	* EncryptedKey.cs: Fix compilation with ReferenceList and 
	EncryptionPropertyCollection changes.
	* EncryptionProperties.cs: Class has been renamed to 
	EncryptionPropertyCollection.
	* Transform.cs: Added [ComVisible (false)] to new properties and 
	methods.
	* EncryptedXml.cs: Changed XmlEncRSA1_5Url to XmlEncRSA15Url.
	* KeyInfoRetrievalMethod.cs: Added [ComVisible (false)] to Type 
	property.
	* KeyInfoX509Data.cs: Added [ComVisible (false)] to AddSubjectKeyId
	(string) method and implemented it.
	* EncryptedData.cs: Changed EncryptionProperties to new 
	EncryptionPropertyCollection.
	* XmlDsigC14NTransform.cs: Added [ComVisible (false)] to 
	GetDigestedOutput method and added a basic implementation.
	* X509IssuerSerial.cs: IssuerName and SerialNumber are now properties.


svn path=/trunk/mcs/; revision=43514
2005-04-24 16:16:23 +00:00
Tim Coleman 4eb5a353ec 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 XmlDsigExcC14NWithCommentsTransform.cs:
                Implement this class based on XmlDsigC14N
        * XmlSignature.cs: Add namespaces for various classes.
        * KeyInfoEncryptedKey.cs SymmetricKeyWrap.cs:
                Remove TODO attributes from implemented methods.
        * KeyInfoName.cs: Put #if NET_2_0 markers in
        * Transform.cs: Implement GetDigestedOutput

svn path=/trunk/mcs/; revision=33321
2004-09-04 00:21:59 +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
Sebastien Pouliot 25191510fa 2004-03-30 Sebastien Pouliot <[email protected]>
* Reference.cs: Changed code to use CryptoConfig to create transforms.
	This is "the" way to do it (e.g. to allow new transforms to be added)
	but cause problems when using VS.NET for debugging. Old code is still
	present, but commented, for that cause.

svn path=/trunk/mcs/; revision=24782
2004-03-30 13:06:10 +00:00
Atsushi Eno f4e851c96f 2004-03-24 Atsushi Enomoto <[email protected]>
* Reference.cs, Signature.cs : They should keep input element and hence
	  keep namespace context nodes on LoadXml() as same as SignedInfo.
	* SignedXml.cs : Fixed SignedInfoTransformed() to fill context
	  namespace nodes into the input document (unlike other classes, there
	  seems no other way to keep ns-nodes here).
	  Now some of W3C phaos xmldsig test passes.

svn path=/trunk/mcs/; revision=24532
2004-03-24 18:32:58 +00:00
Atsushi Eno 042d4cd07a 2004-03-09 Atsushi Enomoto <[email protected]>
* KeyInfoX509Data.cs,
	  Reference.cs,
	  SignedInfo.cs,
	  XmlSignature.cs : GetElementsByTagName() should be eliminated or
	  at least should use namespace URI.

svn path=/trunk/mcs/; revision=23829
2004-03-09 14:43:10 +00:00
Sebastien Pouliot 45c940d7fc 2004-02-11 Sebastien Pouliot <[email protected]>
* Reference.cs: Added LoadInnerXml to transforms. Removed unused
	variable.
	* Transform.cs: Import GetInnerXml in GetXml.
	* XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
	allocations.
	* XmlDsigC14NTransform.cs: Added Stream support to LoadInput
	* XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
	expression and LoadInput. It nows match MS implementation but doesn't
	work like I think it should (but neither is MS implementation).

svn path=/trunk/mcs/; revision=22985
2004-02-11 18:09:07 +00:00
Sebastien Pouliot 2d91f6724f 2003-03-02 Sebastien Pouliot <[email protected]>
* DSAKeyValue.cs: New XML generation is commented. Old string technique
	did a better job to match MS implementation.
	* DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
	* KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
	* RSAKeyValue.cs: New XML generation is commented. Old string technique
	did a better job to match MS implementation.
	* Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
	* Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
	* SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
	* SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
	* Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
	* XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
	* XmlDsigXPathTransform.cs: Added missing Algorithm URL.
	* XmlSignature.cs: New. Private contants (construct similar to WSE).

svn path=/trunk/mcs/; revision=12100
2003-03-02 16:09:19 +00:00
Sebastien Pouliot 355327100c 2003-02-19 Sebastien Pouliot <[email protected]>
* All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
	will reflect reality).

svn path=/trunk/mcs/; revision=11750
2003-02-20 00:49:58 +00:00
Sebastien Pouliot e69a395eda 2002-11-20 Sebastien Pouliot <[email protected]>
* DataObject.cs: New. Complete implementation.
	* DSAKeyValue.cs: New. Complete implementation.
	* KeyInfo.cs: New. Complete implementation.
	* KeyInfoClause.cs: New. Abstract class (complete).
	* KeyInfoName.cs: New. Complete implementation.
	* KeyInfoNode.cs: New. Complete implementation.
	* KeyInfoRetrievalMethod.cs: New. Complete implementation.
	* KeyInfoX509Data.cs: New. Complete implementation.
	* Reference.cs: New. Incomplete implementation.
	* RSAKeyValue.cs: New. Complete implementation.
	* Signature.cs: New. Almost complete implementation - returned
	XML isn't exactly like the MS implementation.
	* SignedInfo.cs: New. Complete except SignatureLength.
	* SignedXml.cs: New. Minimal implementation (only enveloped signatures).
	Still many TODO!
	* Transform.cs: New. Abstract class (complete).
	* TransformChain.cs: New. Complete implementation.
	* XmlDsigBase64Transform.cs: New. Stub + basic logic.
	* XmlDsigC14NTransform.cs: New. Stub + basic logic.
	* XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
	* XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
	* XmlDsigXPathTransform.cs: New. Stub + basic logic.
	* XmlDsigXsltTransform.cs: New. Stub + basic logic.

svn path=/trunk/mcs/; revision=9124
2002-11-21 02:24:23 +00:00