2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / System.Security / System.Security.Cryptography.Xml / ChangeLog
1 2008-01-12  Sebastien Pouliot  <sebastien@ximian.com>
2
3         * ReferenceList.cs: Avoid infinite recursion when setting []. 
4         Found by Gendarme.
5         * XmlDsigXPathTransform.cs: Fix direct comparison with NaN. Found 
6         by Gendarme.
7
8 2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
9
10         * XmlDsigExcC14NTransform.cs : removed extra [ComVisible].
11
12 2007-03-22  Atsushi Enomoto  <atsushi@ximian.com>
13
14         * Transform.cs, XmlDsigC14NTransform.cs, XmlDsigExcC14NTransform.cs :
15           handle PropagatedNamespaces.
16
17 2007-02-01  Atsushi Enomoto  <atsushi@ximian.com>
18
19         * SignedXml.cs : for internal URI (#blah) resolution, use
20           GetIdElement() so that any derived class which overrides this
21           method could resolve the reference correctly.
22
23 2007-01-25  Atsushi Enomoto  <atsushi@ximian.com>
24
25         * SignedXml.cs : for DataObject, copy namespaces in Data into Object
26           element itself. I haven't solved the puzzle on why it is needed
27           though.
28
29 2007-01-23  Atsushi Enomoto  <atsushi@ximian.com>
30
31         * DataObject.cs : it should not append created DataObject element to
32           the owner document. It affects on XPath selection, though currently
33           SignedXml.GetReferenceHash() is bogus so I cannot add meaningful
34           tests for it.
35
36 2007-01-22  Atsushi Enomoto  <atsushi@ximian.com>
37
38         * SignedInfo.cs : removed incorrect CanonicalizationMethodObject
39           implementation.
40         * EncryptedReference.cs : added exc-c14n support in LoadXml().
41
42 2007-01-17  Atsushi Enomoto  <atsushi@ximian.com>
43
44         * XmlDsigExcC14NTransform.cs :
45           re-imported from XmlDsigC14NTransform.cs.
46
47 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
48
49         * SignedXml.cs : when there is an envelope document and no referenced
50           DataObject was found, then look for the target element from the
51           envelope.
52
53 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * DataObject.cs : don't clear attributes or children unnecessarily.
56
57 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
58
59         * SignedXml.cs : actually ComputeSignature() itself does not raise
60           silly exception. It always use CryptographicException.
61           Added another check; malformed reference object.
62
63 2007-01-12  Atsushi Enomoto  <atsushi@ximian.com>
64
65         * SignedXml.cs : ComputeSignature() should check empty key.
66
67 2006-10-11  Atsushi Enomoto  <atsushi@ximian.com>
68
69         * SignedXml.cs : when SigningMethod does not match the algorithm that
70           the key actually supports, it raises an error.
71
72 2006-09-22  Atsushi Enomoto  <atsushi@ximian.com>
73
74         * EncryptedXml.cs : use Padding member instead of const ISO10126 (though
75           I doubt it should be there). Use it in DecryptData().
76
77 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
78
79         * EncryptedXml.cs : implement orthodox padding on encryption.
80
81 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
82
83         * EncryptedXml.cs :
84           Handle orthodox padding (xmlenc spec section 5.2). However, like 
85           EncryptedXmlSample1, it might not exist, so make it optional.
86
87 2006-09-21  Atsushi Enomoto  <atsushi@ximian.com>
88
89         * EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size
90           (or possibly IV size) in Transform(), but only for stripping the heading
91           n bytes garbage.
92
93 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
94
95         * SignedXml.cs : overwrite my fix with Gert's patch on #79454 to make it
96           possible to handle multiple certificates.
97
98 2006-09-20  Atsushi Enomoto  <atsushi@ximian.com>
99
100         * SignedXml.cs : handle KeyInfoX509Data in GetPublicKey(). Fixed #1 of
101           bug #79454.
102
103 2006-09-07  Atsushi Enomoto  <atsushi@ximian.com>
104
105         * EncryptedXml.cs : DecryptData() should not pass block size to
106           Transform() as the index.
107
108 2006-09-06  Atsushi Enomoto  <atsushi@ximian.com>
109
110         * CipherReference.cs, EncryptedReference.cs : unify duplicate code.
111           Remove incorrect name check in the latter class so that it works
112           for DataReference and KeyReference as well.
113
114 2006-05-31  Sebastien Pouliot  <sebastien@ximian.com>
115
116         * KeyInfoClause.cs: Under 2.0 the ctor is protected.
117         * Transform.cs: Under 2.0 the ctor is protected. Enable the use of 
118         XmlSecureResolver when the security manager is active.
119
120 2006-01-30  Atsushi Enomoto  <atsushi@ximian.com>
121
122         * XmlDsigEnvelopedSignatureTransform.cs :
123           It should not remove nodes in another XmlNodeList while its
124           iterator is in active use. This is exposed by the recent
125           XmlNodeList change.
126
127 2005-09-27  Sebastien Pouliot  <sebastien@ximian.com>
128
129         * KeyInfoX509Data.cs: Remove old 2.0 specific check.
130         * XmlDsigXPathTransform.cs: Remove old 2.0 specific check. Return 
131         empty node list of the XmlDocument is null (fixed tests case for 2.0
132         RC).
133
134 2005-05-09  Sebastien Pouliot  <sebastien@ximian.com>
135
136         * EncryptionProperties.cs: Added [IndexerName] attribute to rename 
137         "this" from Item to ItemOf. Added missing Item(int) method.
138         * ReferenceList.cs: Added [IndexerName] attribute to rename "this" 
139         from Item to ItemOf.
140
141 2005-05-04  Sebastien Pouliot  <sebastien@ximian.com>
142
143         * SignedXml.cs: Return an empty (not null) KeyInfo by default and
144         don't throw a CryptographicException in CheckSignature (both NET_2_0).
145         * KeyInfoRetrievalMethod.cs: Don't include an empty URI attribute
146         in the XML output for NET_2_0.
147         * XmlDsigXPathTransform.cs: Throw an XPathException in NET_2_0 if no
148         xpath expression has been supplied to the transform.
149
150 2005-05-03  Sebastien Pouliot  <sebastien@ximian.com>
151
152         * XmlDsigXsltTransform.cs: Fixed 2 test cases (that nows throws 
153         ArgumentNullException) in 2.0.
154
155 2005-05-02  Sebastien Pouliot  <sebastien@ximian.com>
156
157         * SignedXml.cs: Throw ArgumentNullException in AddObject and 
158         AddReference methods in 2.0.
159         * XmlDsigC14NTransform.cs: Throw ArgumentException when loading from
160         an unknown type in 2.0 (it was simply ignored in 1.x).
161
162 2005-04-26  Sebastien Pouliot  <sebastien@ximian.com>
163
164         * KeyInfoX509Data.cs: Fixed to work biwht unit tests on both NET_1_1 
165         and NET_2_0 (except for obvious beta2 bugs). ArraList are now only 
166         created when required.
167
168 2005-04-25  Sebastien Pouliot  <sebastien@ximian.com>
169
170         * EncryptedData.cs: Avoid re-creating collection object on load.
171         * EncryptedKey.cs: Fix compiler warning (unused variables).
172         * EncryptedType.cs: Remove set on EncryptionProperties property.
173         * IRelDecryptor.cs: New. Interface for XrML support.
174         * SymmetricKeyWrap.cs: Comment unused static method Xor(byte[],int).
175         * XmlDecryptionTransform.cs: Fix compiler warning (unused variable).
176         * XmlDsigEnvelopedSignatureTransform.cs: Fix compiler warning.
177         * XmlLicenseTransform.cs: New. Class for XrML support.
178
179 2005-04-24  Sebastien Pouliot  <sebastien@ximian.com>
180
181         * SignedInfo.cs: Added [ComVisible (false)] to new property.
182         * SignedXml.cs: Added [ComVisible (false)] to new properties and 
183         methods.
184         * ReferenceList.cs: Fixed members signatures for beta2.
185         * Reference.cs: Added [ComVisible (false)] to new set_TransformChain.
186         * EncryptedType.cs: Fix compilation with EncryptionPropertyCollection
187         changes.
188         * DataObject.cs: Fix compilation warnings.
189         * EncryptedKey.cs: Fix compilation with ReferenceList and 
190         EncryptionPropertyCollection changes.
191         * EncryptionProperties.cs: Class has been renamed to 
192         EncryptionPropertyCollection.
193         * Transform.cs: Added [ComVisible (false)] to new properties and 
194         methods.
195         * EncryptedXml.cs: Changed XmlEncRSA1_5Url to XmlEncRSA15Url.
196         * KeyInfoRetrievalMethod.cs: Added [ComVisible (false)] to Type 
197         property.
198         * KeyInfoX509Data.cs: Added [ComVisible (false)] to AddSubjectKeyId
199         (string) method and implemented it.
200         * EncryptedData.cs: Changed EncryptionProperties to new 
201         EncryptionPropertyCollection.
202         * XmlDsigC14NTransform.cs: Added [ComVisible (false)] to 
203         GetDigestedOutput method and added a basic implementation.
204         * X509IssuerSerial.cs: IssuerName and SerialNumber are now properties.
205
206 2005-04-23  Sebastien Pouliot  <sebastien@ximian.com>
207
208         * EncryptedXml.cs, SignedXml.cs: Changed X509CertificateEx to 
209         X509Certificate2 to match beta2.
210
211 2005-04-04  Atsushi Enomoto <atsushi@ximian.com>
212
213         * XmlSignatureStreamReader.cs : new file. Handles Stream to rip CR off.
214         * XmlDsigXPathTransform.cs,
215           XmlDecryptionTransform.cs,
216           XmlDsigC14NTransform.cs,
217           XmlDsigEnvelopedSignatureTransform.cs,
218           XmlDsigXsltTransform.cs : use XmlSignatureStreamReader for Streams.
219
220 2004-09-16  Sebastien Pouliot  <sebastien@ximian.com>
221
222         * Signature.cs: Fixed Xmldsig and broken unit tests.
223         * SignedXml.cs: Fixed warning (level 4) for unused variable.
224         * XmlDsigEnvelopedSignatureTransform.cs: Fixed warning (l4) for unused
225         variable.
226
227 2004-09-04  Tim Coleman <tim@timcoleman.com>
228         * XmlDecryptionTransform.cs:
229                 Implement rudimentary xpointer support for Except URIs.
230
231 2004-09-03  Tim Coleman <tim@timcoleman.com>
232         * EncryptedXml.cs: Add support for RSA for key formatting
233         * Reference.cs: Include XmlDecryptionTransform
234         * SignedXml.cs: 
235                 Set the EncryptedKey on the XmlDecryptionTransform when 
236                 loading XML
237         * XmlDecryptionTransform.cs:
238                 Clean up decryption transformation to work without ugly hack.
239         * XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
240                 Implement this class based on XmlDsigC14N
241         * XmlSignature.cs: Add namespaces for various classes.
242         * KeyInfoEncryptedKey.cs SymmetricKeyWrap.cs: 
243                 Remove TODO attributes from implemented methods.
244         * KeyInfoName.cs: Put #if NET_2_0 markers in
245         * Transform.cs: Implement GetDigestedOutput
246
247 2004-09-02  Tim Coleman <tim@timcoleman.com>
248         * CipherReference.cs: Add XmlDecryptionTransform for 2.0
249         * EncryptedType.cs: Fix type initialization to conform to .NET
250         * EncryptedXml.cs:
251                 Add support for RSA key decryption and "cloning" for Transform
252         * KeyInfoX509Data Reference.cs SignedInfo.cs XmlDsigC14NTransform.cs: 
253                 Add 2.0 stubs
254         * Signature.cs:
255                 Create internal GetXml function if we already have a doc
256         * SignedXml.cs: Fix the transformation when we get an XmlDocument out
257         * XmlDecryptionTransform.cs: Implemented Xml Decryption
258         * XmlSignature.cs: Add namespace for Xml Decryption
259
260 2004-08-31  Tim Coleman <tim@timcoleman.com>
261         * XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
262                 Add new stub classes
263         * SignedXml.cs Transform.cs:
264                 New methods for 2.0
265         * EncryptedXml.cs SymmetricKeyWrap.cs: 
266                 Get symmetric key wrap to work for AES keys.
267
268 2004-08-30  Tim Coleman <tim@timcoleman.com>
269         * EncryptedXml.cs: Implement lots of XML Encryption code.
270         * SymmetricKeyWrap.cs: Fix TripleDES keywrap algorithm.
271         * XmlSignature.cs: Add NET_2_0 check around EncryptedKey
272
273 2004-08-30  Atsushi Enomoto <atsushi@ximian.com>
274
275         * KeyInfo.cs : NET_1_1 build fix.
276
277 2004-08-29  Tim Coleman <tim@timcoleman.com>
278         * EncryptedKey.cs: Fix element name when generating XML.
279         * EncryptedXml.cs: Implement more of encryption/decryption routines for .NET 2.0
280         * KeyInfo.cs: Support for EncryptedKey KeyInfoClause.
281         * KeyInfoName.cs: Add missing constructor
282         * SymmetricKeyWrap.cs: Add untested TripleDES key wrap 
283         algorithms for encryption/decryption
284         * XmlSignature.cs: Add EncryptedKey constant.
285         * EncryptedData.cs: Add .NET 2.0 method stubs.
286
287 2004-07-20  Atsushi Enomoto <atsushi@ximian.com>
288
289         * Signature.cs : Fixed NextElementPos() that incorrectly examined
290           node matching.
291
292 2004-07-07  Sebastien Pouliot  <sebastien@ximian.com>
293
294         * EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and 
295         XmlEncElementContentUrl.
296         * X509IssuerSerial.cs: Make constructor internal so it doesn't show up
297         in corcompare results for NET_2_0 profile.
298
299 2004-06-17  Sebastien Pouliot  <sebastien@ximian.com>
300
301         * KeyInfoX509Data.cs: Removed old internal IssuerSerial for the 
302         undocumented structure (now documented, and public, in Fx 2.0).
303         * X509IssuerSerial.cs: Use structure as public in NET_2_0 and as 
304         internal before that.
305
306 2004-06-10  Gert Driesen <drieseng@users.sourceforge.net>
307
308         * SignedXml.cs: API signature fixes
309
310 2004-06-04  Atsushi Enomoto <atsushi@ximian.com>
311
312         * SignedXml.cs : Complete fix for bug #59545. Support #xpointer(id()).
313           Namespace fixup is required when signing prefixed xml.
314
315 2004-06-04  Atsushi Enomoto <atsushi@ximian.com>
316
317         * SignedXml.cs : Fix for bug #59545. Handle #xpointer(/) as document.
318
319 2004-05-31  Atsushi Enomoto <atsushi@ximian.com>
320
321         * SignedXml.cs : partial fix for bug #59165 that does not output
322           namespace that conflicts with element's namespace.
323
324 2004-05-13  Sebastien Pouliot  <sebastien@ximian.com>
325
326         * SignedXml.cs: Update TODO informations.
327
328 2004-05-13  Atsushi Enomoto <atsushi@ximian.com>
329
330         * XmlDsigBase64Transform.cs :
331           LoadInput() should retrieve all the descendants.
332           GetOutput() should handle nodes without digging into child nodes.
333
334 2004-05-05  Atsushi Enomoto <atsushi@ximian.com>
335
336         * SignedXml.cs,
337           Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
338         * XmlDsigBase64Transform.cs : Should not output the content of the
339           selected element nodes. Put text content only those text nodes are
340           in the node list.
341         * XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
342         * XmlDsigXsltTransform.cs : Use XmlResolver to load document and
343           to transform. Throw null reference exception explicitly when
344           the input was not loaded.
345
346 2004-04-02  Lluis Sanchez Gual  <lluis@ximian.com>
347
348         * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
349         XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
350
351 2004-03-30  Sebastien Pouliot  <sebastien@ximian.com>
352
353         * Reference.cs: Changed code to use CryptoConfig to create transforms.
354         This is "the" way to do it (e.g. to allow new transforms to be added)
355         but cause problems when using VS.NET for debugging. Old code is still
356         present, but commented, for that cause.
357
358 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
359
360         * SignedXml.cs : namespace nodes also should be supplied for enveloped
361           objects.
362         * KeyInfoRetrievalMethod.cs : Keep input element as well as others.
363
364 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
365
366         * SignedXml.cs : XPath transformation output is not type of Stream.
367           Fix to support them by canonicalizing it.
368
369 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
370
371         * XmlDsigXsltTransform.cs : GetOutput() now just returns
372           transformation output.
373
374 2004-03-27  Atsushi Enomoto <atsushi@ximian.com>
375
376         * SignedXml.cs : Added xmlns support for Manifest.
377
378 2004-03-26  Sebastien Pouliot  <sebastien@ximian.com>
379
380         * Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
381         This should help us to validate more tests from the Phaos suite.
382         Note: Microsoft doesn't support this and we only support it for
383         verification (not signature generation).
384         * SignedXml.cs: Added support for Manifest, including recursive 
385         manifests. Made some changes to reuse existing code as much as 
386         possible. Better support for local/remote files - but requires
387         catching an Uri exception for local files :-(.
388         * XmlSignature.cs: Added constants for Manifest element and URI.
389
390 2004-03-26  Atsushi Enomoto <atsushi@ximian.com>
391
392         * SignedXml.cs :
393           - Use specified (or default) XmlResolver to get external resource,
394             instead of using WebRequest directly. Also modified it easier.
395           - ApplyTransform() : Clone only when it is required. Handle 
396             transformation output other than Stream.
397           - Even if applicable key was not found in GetHash(), don't throw
398             crypto exception every time and just return false (MS does it).
399             Throw an exception only when no key was specified as KeyInfo.
400         * XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
401           incorrectly set InputTypes internally.
402         * XmlDsigXPathTransform.cs : Context namespace nodes in loaded 
403           transform parameter (i.e. <XPath>..</XPath>) should be registered
404           to XsltContext. Otherwise prefix binding error occurs.
405           Just filter attribute node, instead of filtering attribute children.
406
407 2004-03-25  Sebastien Pouliot  <sebastien@ximian.com>
408
409         * SignedXml.cs: Added try/catch in CheckSignatureWithKey to return 
410         false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
411         -retrieval-method.xml in the Phaos test suite.
412
413 2004-03-24  Atsushi Enomoto <atsushi@ximian.com>
414
415         * Reference.cs, Signature.cs : They should keep input element and hence
416           keep namespace context nodes on LoadXml() as same as SignedInfo.
417         * SignedXml.cs : Fixed SignedInfoTransformed() to fill context 
418           namespace nodes into the input document (unlike other classes, there
419           seems no other way to keep ns-nodes here).
420           Now some of W3C phaos xmldsig test passes.
421
422 2004-03-23  Atsushi Enomoto <atsushi@ximian.com>
423
424         * SignedInfo.cs : It holds input element and directly returns it
425           unless the properties are not set.
426           Throw CryptographicException when Reference is empty *and* GetXml()
427           is *created*. (when just returning input element, no exception is
428           thrown).
429
430 2004-03-23  Atsushi Enomoto <atsushi@ximian.com>
431
432         * DataObject.cs : It now holds element instead of each parameters.
433           Avoid loading element content to different document unless its
434           properties were modified (to keep namespace node context).
435
436 2004-03-20 Sebastien Pouliot  <sebastien@ximian.com>
437
438         * SignedXml.cs: Removed unused (and commented) ComputeHash method.
439
440 2004-03-19  Atsushi Enomoto <atsushi@ximian.com>
441
442         * XmlDsigXPathTransform.cs : just found stupid bug.
443
444 2004-03-19  Sebastien Pouliot  <sebastien@ximian.com>
445
446         * SignedXml.cs: Lot of small changes to complete TODOs and to match 
447         the new unit tests.
448
449 2004-03-17  Sebastien Pouliot  <sebastien@ximian.com>
450
451         * SignedXml.cs: The old method was working for creating signature -
452         so it was reintroduced for (only) this case.
453
454 2004-03-17  Atsushi Enomoto <atsushi@ximian.com>
455
456         * SignedXml.cs : the result from enveloped signature transform should
457           be canonicalized before getting its hash.
458         * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
459           if the node is Signature itself it is not allowed.
460           PreserveWhitespace is required.
461
462 2004-03-16  Sebastien Pouliot  <sebastien@ximian.com>
463
464         * SignedXml.cs: Changed (again). This time we use the Stream when 
465         loading the document. We now pass 14 out of 15 of the Merlin's
466         tests (including one that MS fails). The only failing test is the
467         one that use the EnvelopedTransform (unfinished).
468
469 2004-03-16  Sebastien Pouliot  <sebastien@ximian.com>
470
471         * SignedXml.cs: Commented my last changes to SignedXml as it made other
472         unis tests fail (in the c14n-izer).
473
474 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
475
476         * XmlDsigNodeList.cs : removed BOM from code file.
477
478 2004-03-16  Atsushi Enomoto <atsushi@ximian.com>
479
480         * XmlDsigNodeList.cs : added.
481         * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
482         * XmlDsigEnvelopedSignatureTransform.cs :
483           Implemented GetOutput(). However, it is totally MS behavior
484           dependent and not based on the spec (we can reimplement it based on
485           improved XmlDsigXPathTransform).
486         * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
487
488 2004-03-15  Sebastien Pouliot  <sebastien@ximian.com>
489
490         * SignedXml.cs: Now use the original Signature element before applying
491         the C14N transformation. Added a check for null in LoadXml.
492
493 2004-03-14  Atsushi Enomoto <atsushi@ximian.com>
494
495         * XmlDsigXPathTransform.cs : implemented GetOutput() (with some 
496           internal XPath context classes).
497
498 2004-03-13  Atsushi Enomoto <atsushi@ximian.com>
499
500         * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
501           and LoadInput() should just load transformed document.
502           Transformation should be done in GetOutput() because either of the
503           stylesheet or input can be loaded in prior. Adjusted code format.
504
505 2004-03-12  Sebastien Pouliot  <sebastien@ximian.com>
506
507         * Signature.cs: KeyInfo isn't required in schema.
508         * SignedInfo.cs: Added support for missing HMACOutputLength.
509         * SignedXml.cs: Added support to download a reference (experimental).
510         Now throw exception for unknown hash algorithm or canonicalization 
511         methods. Changed GetPublicKey to iterate all available keys (not just
512         the first one).
513
514 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
515
516         * KeyInfo.cs : Attribute Id was not handlded.
517         * KeyInfoX509Data.cs : all array members return null when there are
518           no such contents. Just find child elements, not descendants.
519         * SignedXml.cs : key is not always required when CheckSignature() is
520           called.
521         * XmlDsigXsltTransform.cs : LoadInput should allow node list.
522         * XmlSignature.cs : added GetChildElements().
523
524 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
525
526         * KeyInfoX509Data.cs : trivial local var name fix.
527
528 2004-03-09  Atsushi Enomoto <atsushi@ximian.com>
529
530         * KeyInfoX509Data.cs,
531           Reference.cs,
532           SignedInfo.cs,
533           XmlSignature.cs : GetElementsByTagName() should be eliminated or
534           at least should use namespace URI.
535
536 2004-03-04  Atsushi Enomoto <atsushi@ximian.com>
537
538         * KeyInfo.cs :
539           Fixed LoadXml() to skip text nodes as MS.NET does.
540           Uncommented out RSAKeyValue.
541         * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
542           that incorrectly acquires descendants. Throw CryptographicException
543           if required elements were not found.
544         * Transform.cs : added internal GetResolver().
545         * XmlDsigXPathTransform.cs,
546           XmlDsigXsltTransform.cs : use XmlResolver.
547
548 2004-02-19  Tim Coleman <tim@timcoleman.com>
549         * SymmetricKeyWrap.cs:
550                 Add AES Key Wrap
551         * EncryptedXml.cs:
552                 Add calls to SymmetricKeyWrap
553
554 2004-02-11  Sebastien Pouliot  <sebastien@ximian.com>
555
556         * Reference.cs: Added LoadInnerXml to transforms. Removed unused 
557         variable.
558         * Transform.cs: Import GetInnerXml in GetXml.
559         * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
560         allocations.
561         * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
562         * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath 
563         expression and LoadInput. It nows match MS implementation but doesn't
564         work like I think it should (but neither is MS implementation).
565
566 2004-02-10  Tim Coleman <tim@timcoleman.com>
567         * DataReference.cs EncryptedKey.cs EncryptedXml.cs
568         * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
569         * X509IssuerSerial.cs XmlDecryptionTransform.cs:
570                 Add new classes for Xml Encryption in 1.2
571         * CipherData.cs CipherReference.cs EncryptedData.cs
572         * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
573                 Change NamespaceURI reference to EncryptedXml class.
574                 Make compliant with 1.2
575         * XmlEncryption.cs:
576                 Add new entity names.
577
578
579 2004-02-07  Tim Coleman <tim@timcoleman.com>
580         * CipherData.cs CipherReference.cs EncryptedData.cs
581         * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
582         * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
583                 New classes added for Xml Encryption in 1.2
584         * KeyInfoRetrievalMethod.cs:
585                 Added Type attribute for 1.2
586         * XmlSignature.cs:
587                 Added string constants for algorithm namespaces
588
589 2004-01-11  Sebastien Pouliot  <spouliot@videotron.ca>
590
591         * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to 
592         Resolver property.
593         * Transform.cs: Fixed class signature (for 1.1+) by adding public to 
594         Resolver property.
595
596 2003-12-14  Sebastien Pouliot  <spouliot@videotron.ca>
597
598         * SignedXml.cs: Now load the public key when verifying (bug #52084)
599         and can find an element by it's Id when Id isn't defined in DTD or XSD.
600
601 2003-07-27  Sebastien Pouliot  <spouliot@videotron.ca>
602
603         * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
604
605 2003-07-24  Sebastien Pouliot  <spouliot@videotron.ca>
606
607         * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
608         from Aleksey Sanin.
609
610 2003-06-19  Nick Drochak <ndrochak@gol.com>
611
612         * DSAKeyValue.cs:
613         * RSAKeyValue.cs: Work around for mcs? bug 45127.
614
615 2003-06-11  Sebastien Pouliot <spouliot@motus.com>
616
617         * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
618         * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
619
620 2003-05-25  Sebastien Pouliot  <spouliot@videotron.ca>
621
622         * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
623         to match framework 1.1 (this was a bug in framework 1.0).
624
625 2003-05-10  Sebastien Pouliot  <spouliot@videotron.ca>
626
627         * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
628         documentation (no public declaration).
629         * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
630         documentation (no public declaration).
631
632 2003-03-03  Sebastien Pouliot  <spouliot@videotron.ca>
633
634         * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
635         XML generation).
636         * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
637         XML generation).
638         * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
639
640 2003-03-02  Sebastien Pouliot  <spouliot@videotron.ca>
641
642         * DSAKeyValue.cs: New XML generation is commented. Old string technique
643         did a better job to match MS implementation.
644         * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
645         * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
646         * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
647         * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
648         * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
649         * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
650         * RSAKeyValue.cs: New XML generation is commented. Old string technique
651         did a better job to match MS implementation.
652         * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
653         * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
654         * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
655         * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
656         * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
657         * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
658         * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
659         * XmlSignature.cs: New. Private contants (construct similar to WSE).
660
661 2003-02-19  Sebastien Pouliot  <spouliot@videotron.ca>
662
663         * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
664         will reflect reality).
665
666 2003-01-17  Sebastien Pouliot  <spouliot@videotron.ca>
667
668         * KeyInfo.cs: Changed some protected declaration to private.
669         * KeyInfoName.cs: Changed some protected declaration to private.
670         * KeyInfoNode.cs: Changed some protected declaration to private.
671         * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
672         * KeyInfoX509Data.cs: Changed some protected declaration to private.
673         * Transform.cs: Changed some protected declaration to private.
674         * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
675         * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
676         * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
677         * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
678         * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
679         * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
680
681 2002-11-28  Sebastien Pouliot  <spouliot@videotron.ca>
682
683         * TODOAttribute.cs: New. Still much to do ;-)
684         * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
685         functionnal.
686         * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
687         functionnal.
688
689 2002-11-20  Sebastien Pouliot  <spouliot@videotron.ca>
690
691         * DataObject.cs: New. Complete implementation.
692         * DSAKeyValue.cs: New. Complete implementation.
693         * KeyInfo.cs: New. Complete implementation.
694         * KeyInfoClause.cs: New. Abstract class (complete).
695         * KeyInfoName.cs: New. Complete implementation.
696         * KeyInfoNode.cs: New. Complete implementation.
697         * KeyInfoRetrievalMethod.cs: New. Complete implementation.
698         * KeyInfoX509Data.cs: New. Complete implementation.
699         * Reference.cs: New. Incomplete implementation.
700         * RSAKeyValue.cs: New. Complete implementation.
701         * Signature.cs: New. Almost complete implementation - returned
702         XML isn't exactly like the MS implementation.
703         * SignedInfo.cs: New. Complete except SignatureLength.
704         * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
705         Still many TODO!
706         * Transform.cs: New. Abstract class (complete).
707         * TransformChain.cs: New. Complete implementation.
708         * XmlDsigBase64Transform.cs: New. Stub + basic logic.
709         * XmlDsigC14NTransform.cs: New. Stub + basic logic.
710         * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
711         * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
712         * XmlDsigXPathTransform.cs: New. Stub + basic logic.
713         * XmlDsigXsltTransform.cs: New. Stub + basic logic.