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

107 lines
1.9 KiB
C#

//
// XmlDecryptionTransform.cs - XmlDecryptionTransform implementation for XML Encryption
//
// Author:
// Tim Coleman ([email protected])
//
// Copyright (C) Tim Coleman, 2004
#if NET_1_2
using System.Xml;
namespace System.Security.Cryptography.Xml {
public class XmlDecryptionTransform : Transform {
#region Fields
EncryptedXml encryptedXml;
Type[] inputTypes;
Type[] outputTypes;
#endregion // Fields
#region Constructors
public XmlDecryptionTransform ()
: base ()
{
}
#endregion // Constructors
#region Properties
public EncryptedXml EncryptedXml {
get { return encryptedXml; }
set { encryptedXml = value; }
}
public override Type[] InputTypes {
get {
if (inputTypes == null) {
lock (this) {
inputTypes = new Type [3] {typeof (System.IO.Stream), typeof (System.Xml.XmlNodeList), typeof (System.Xml.XmlDocument)};
}
}
return inputTypes;
}
}
public override Type[] OutputTypes {
get {
if (outputTypes == null) {
lock (this) {
outputTypes = new Type [2] {typeof (System.Xml.XmlDocument), typeof (System.Xml.XmlNodeList)};
}
}
return outputTypes;
}
}
#endregion // Properties
#region Methods
[MonoTODO]
protected override XmlNodeList GetInnerXml ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override object GetOutput ()
{
throw new NotImplementedException ();
}
[MonoTODO]
public override object GetOutput (Type type)
{
throw new NotImplementedException ();
}
[MonoTODO]
protected virtual bool IsTargetElement (XmlElement inputElement, string idValue)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void LoadInnerXml (XmlNodeList nodeList)
{
throw new NotImplementedException ();
}
[MonoTODO]
public override void LoadInput (object obj)
{
throw new NotImplementedException ();
}
#endregion // Methods
}
}
#endif