* 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
* 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
* Signature.cs: KeyInfo isn't required in schema.
* SignedInfo.cs: Added support for missing HMACOutputLength.
* SignedXml.cs: Added support to download a reference (experimental).
Now throw exception for unknown hash algorithm or canonicalization
methods. Changed GetPublicKey to iterate all available keys (not just
the first one).
svn path=/trunk/mcs/; revision=23968
* KeyInfo.cs :
Fixed LoadXml() to skip text nodes as MS.NET does.
Uncommented out RSAKeyValue.
* Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
that incorrectly acquires descendants. Throw CryptographicException
if required elements were not found.
* Transform.cs : added internal GetResolver().
* XmlDsigXPathTransform.cs,
XmlDsigXsltTransform.cs : use XmlResolver.
svn path=/trunk/mcs/; revision=23711
* 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