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