mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 03:51:19 -10:00
* 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
43 lines
682 B
C#
43 lines
682 B
C#
//
|
|
// TransformChain.cs - TransformChain implementation for XML Signature
|
|
//
|
|
// Author:
|
|
// Sebastien Pouliot ([email protected])
|
|
//
|
|
// (C) 2002 Motus Technologies Inc. (http://www.motus.com)
|
|
//
|
|
|
|
using System.Collections;
|
|
|
|
namespace System.Security.Cryptography.Xml {
|
|
|
|
public class TransformChain {
|
|
|
|
private ArrayList chain;
|
|
|
|
public TransformChain()
|
|
{
|
|
chain = new ArrayList ();
|
|
}
|
|
|
|
public int Count {
|
|
get { return chain.Count; }
|
|
}
|
|
|
|
public Transform this [int index] {
|
|
get { return (Transform) chain [index]; }
|
|
}
|
|
|
|
public void Add (Transform transform)
|
|
{
|
|
chain.Add (transform);
|
|
}
|
|
|
|
public IEnumerator GetEnumerator ()
|
|
{
|
|
return chain.GetEnumerator ();
|
|
}
|
|
}
|
|
|
|
}
|