Files
mono/mcs/class/System.Security/System.Security.Cryptography.Xml/KeyInfoNode.cs
T
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

43 lines
719 B
C#

//
// KeyInfoNode.cs - KeyInfoNode implementation for XML Signature
//
// Author:
// Sebastien Pouliot ([email protected])
//
// (C) 2002 Motus Technologies Inc. (http://www.motus.com)
//
using System.Text;
using System.Xml;
namespace System.Security.Cryptography.Xml {
public class KeyInfoNode : KeyInfoClause {
protected XmlElement Node;
public KeyInfoNode () {}
public KeyInfoNode (XmlElement node)
{
LoadXml (node);
}
public XmlElement Value {
get { return Node; }
set { Node = value; }
}
public override XmlElement GetXml ()
{
return Node;
}
// LAMESPEC: No ArgumentNullException is thrown if value == null
public override void LoadXml (XmlElement value)
{
Node = value;
}
}
}