2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / ChangeLog
1 2004-03-14  Atsushi Enomoto <atsushi@ximian.com>
2
3         * XmlDsigXPathTransform.cs : implemented GetOutput() (with some 
4           internal XPath context classes).
5
6 2004-03-13  Atsushi Enomoto <atsushi@ximian.com>
7
8         * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
9           and LoadInput() should just load transformed document.
10           Transformation should be done in GetOutput() because either of the
11           stylesheet or input can be loaded in prior. Adjusted code format.
12
13 2004-03-12  Sebastien Pouliot  <sebastien@ximian.com>
14
15         * Signature.cs: KeyInfo isn't required in schema.
16         * SignedInfo.cs: Added support for missing HMACOutputLength.
17         * SignedXml.cs: Added support to download a reference (experimental).
18         Now throw exception for unknown hash algorithm or canonicalization 
19         methods. Changed GetPublicKey to iterate all available keys (not just
20         the first one).
21
22 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
23
24         * KeyInfo.cs : Attribute Id was not handlded.
25         * KeyInfoX509Data.cs : all array members return null when there are
26           no such contents. Just find child elements, not descendants.
27         * SignedXml.cs : key is not always required when CheckSignature() is
28           called.
29         * XmlDsigXsltTransform.cs : LoadInput should allow node list.
30         * XmlSignature.cs : added GetChildElements().
31
32 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
33
34         * KeyInfoX509Data.cs : trivial local var name fix.
35
36 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
37
38         * KeyInfoX509Data.cs,
39           Reference.cs,
40           SignedInfo.cs,
41           XmlSignature.cs : GetElementsByTagName() should be eliminated or
42           at least should use namespace URI.
43
44 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
45
46         * KeyInfo.cs :
47           Fixed LoadXml() to skip text nodes as MS.NET does.
48           Uncommented out RSAKeyValue.
49         * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
50           that incorrectly acquires descendants. Throw CryptographicException
51           if required elements were not found.
52         * Transform.cs : added internal GetResolver().
53         * XmlDsigXPathTransform.cs,
54           XmlDsigXsltTransform.cs : use XmlResolver.
55
56 2004-02-19  Tim Coleman <tim@timcoleman.com>
57         * SymmetricKeyWrap.cs:
58                 Add AES Key Wrap
59         * EncryptedXml.cs:
60                 Add calls to SymmetricKeyWrap
61
62 2004-02-11  Sebastien Pouliot  <sebastien@ximian.com>
63
64         * Reference.cs: Added LoadInnerXml to transforms. Removed unused 
65         variable.
66         * Transform.cs: Import GetInnerXml in GetXml.
67         * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
68         allocations.
69         * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
70         * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath 
71         expression and LoadInput. It nows match MS implementation but doesn't
72         work like I think it should (but neither is MS implementation).
73
74 2004-02-10  Tim Coleman <tim@timcoleman.com>
75         * DataReference.cs EncryptedKey.cs EncryptedXml.cs
76         * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
77         * X509IssuerSerial.cs XmlDecryptionTransform.cs:
78                 Add new classes for Xml Encryption in 1.2
79         * CipherData.cs CipherReference.cs EncryptedData.cs
80         * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
81                 Change NamespaceURI reference to EncryptedXml class.
82                 Make compliant with 1.2
83         * XmlEncryption.cs:
84                 Add new entity names.
85
86
87 2004-02-07  Tim Coleman <tim@timcoleman.com>
88         * CipherData.cs CipherReference.cs EncryptedData.cs
89         * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
90         * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
91                 New classes added for Xml Encryption in 1.2
92         * KeyInfoRetrievalMethod.cs:
93                 Added Type attribute for 1.2
94         * XmlSignature.cs:
95                 Added string constants for algorithm namespaces
96
97 2004-01-11  Sebastien Pouliot  <spouliot@videotron.ca>
98
99         * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to 
100         Resolver property.
101         * Transform.cs: Fixed class signature (for 1.1+) by adding public to 
102         Resolver property.
103
104 2003-12-14  Sebastien Pouliot  <spouliot@videotron.ca>
105
106         * SignedXml.cs: Now load the public key when verifying (bug #52084)
107         and can find an element by it's Id when Id isn't defined in DTD or XSD.
108
109 2003-07-27  Sebastien Pouliot  <spouliot@videotron.ca>
110
111         * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
112
113 2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>
114
115         * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
116         from Aleksey Sanin.
117
118 2003-06-19  Nick Drochak <ndrochak@gol.com>
119
120         * DSAKeyValue.cs:
121         * RSAKeyValue.cs: Work around for mcs? bug 45127.
122
123 2003-06-11  Sebastien Pouliot <spouliot@motus.com>
124
125         * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
126         * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
127
128 2003-05-25  Sebastien Pouliot  <spouliot@videotron.ca>
129
130         * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
131         to match framework 1.1 (this was a bug in framework 1.0).
132
133 2003-05-10  Sebastien Pouliot  <spouliot@videotron.ca>
134
135         * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
136         documentation (no public declaration).
137         * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
138         documentation (no public declaration).
139
140 2003-03-03  Sebastien Pouliot  <spouliot@videotron.ca>
141
142         * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
143         XML generation).
144         * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
145         XML generation).
146         * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
147
148 2003-03-02  Sebastien Pouliot  <spouliot@videotron.ca>
149
150         * DSAKeyValue.cs: New XML generation is commented. Old string technique
151         did a better job to match MS implementation.
152         * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
153         * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
154         * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
155         * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
156         * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
157         * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
158         * RSAKeyValue.cs: New XML generation is commented. Old string technique
159         did a better job to match MS implementation.
160         * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
161         * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
162         * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
163         * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
164         * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
165         * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
166         * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
167         * XmlSignature.cs: New. Private contants (construct similar to WSE).
168
169 2003-02-19  Sebastien Pouliot  <spouliot@videotron.ca>
170
171         * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
172         will reflect reality).
173
174 2003-01-17  Sebastien Pouliot  <spouliot@videotron.ca>
175
176         * KeyInfo.cs: Changed some protected declaration to private.
177         * KeyInfoName.cs: Changed some protected declaration to private.
178         * KeyInfoNode.cs: Changed some protected declaration to private.
179         * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
180         * KeyInfoX509Data.cs: Changed some protected declaration to private.
181         * Transform.cs: Changed some protected declaration to private.
182         * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
183         * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
184         * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
185         * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
186         * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
187         * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
188
189 2002-11-28  Sebastien Pouliot  <spouliot@videotron.ca>
190
191         * TODOAttribute.cs: New. Still much to do ;-)
192         * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
193         functionnal.
194         * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
195         functionnal.
196
197 2002-11-20  Sebastien Pouliot  <spouliot@videotron.ca>
198
199         * DataObject.cs: New. Complete implementation.
200         * DSAKeyValue.cs: New. Complete implementation.
201         * KeyInfo.cs: New. Complete implementation.
202         * KeyInfoClause.cs: New. Abstract class (complete).
203         * KeyInfoName.cs: New. Complete implementation.
204         * KeyInfoNode.cs: New. Complete implementation.
205         * KeyInfoRetrievalMethod.cs: New. Complete implementation.
206         * KeyInfoX509Data.cs: New. Complete implementation.
207         * Reference.cs: New. Incomplete implementation.
208         * RSAKeyValue.cs: New. Complete implementation.
209         * Signature.cs: New. Almost complete implementation - returned
210         XML isn't exactly like the MS implementation.
211         * SignedInfo.cs: New. Complete except SignatureLength.
212         * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
213         Still many TODO!
214         * Transform.cs: New. Abstract class (complete).
215         * TransformChain.cs: New. Complete implementation.
216         * XmlDsigBase64Transform.cs: New. Stub + basic logic.
217         * XmlDsigC14NTransform.cs: New. Stub + basic logic.
218         * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
219         * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
220         * XmlDsigXPathTransform.cs: New. Stub + basic logic.
221         * XmlDsigXsltTransform.cs: New. Stub + basic logic.