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