1 2008-11-01 Sebastien Pouliot <sebastien@ximian.com>
3 * EncryptedXml.cs: Add proper null check inside methods.
4 * SignedXml.cs: GetIdElement returns null if either of its parameter
6 * Transform.cs: Comment compatibility-NRE in GetDigestedOutput.
7 * XmlDecryptionTransform.cs: IsTargetElement returns null if either
8 of its parameter is null.
9 * XmlDsigC14NTransform.cs: Comment compatibility-NRE in
11 * XmlDsigExcC14NTransform.cs: Comment compatibility-NRE in
13 [Found using Gendarme CheckParametersNullityInVisibleMethodsRule]
15 2008-10-14 Gert Driesen <drieseng@users.sourceforge.net>
17 * XmlDsigBase64Transform.cs: Use constant for Algorithm namespace.
18 * XmlDsigExcC14NTransform.cs: Fixed ctors to use WithComments
19 algorithm if includeComments is true. Assign includeNamespacesPrefixList
21 * XmlDsigExcC14NWithCommentsTransform.cs: Remove unnecessary
22 assignment to Algorithm now that base ctor is fixed.
23 * XmlDsigC14NWithCommentsTransform.cs: Remove unnecessary assignment
24 to Algorithm now that base ctor is fixed.
25 * XmlDsigC14NTransform.cs: In default ctor, just invoke .ctor (bool).
26 In .ctor (bool), assign WithComments algorithm if includeComments is
27 true. Use constants for Algorithm namespace.
28 * XmlDsigEnvelopedSignatureTransform.cs: Use constant for Algorithm
30 * XmlDsigXPathTransform.cs: Use constant for Algorithm namespace.
31 * XmlDsigXsltTransform.cs: Use constant for Algorithm namespace.
32 * XmlLicenseTransform.cs: Assign Algorithm in ctor.
33 * XmlSignature.cs: Added constant for XmlLicenseTransform algorithm.
35 2008-10-12 Sebastien Pouliot <sebastien@ximian.com>
37 * EncryptedReference.cs, EncryptedType.cs: Remove unneeded field
38 initialization to their default values.
39 [Found using Gendarme AvoidUnneededFieldInitializationRule]
41 2008-09-17 Sebastien Pouliot <sebastien@ximian.com>
43 * SignedXmlTest.cs: Add support for signing XML using HMACSHA256,
44 HMACSHA384, HMACSHA512 and HMACRIPEMD160.
47 2008-08-07 Atsushi Enomoto <atsushi@ximian.com>
49 * set Algorithm in .ctor(bool), fixed bug #398904.
51 2008-08-06 Sebastien Pouliot <sebastien@ximian.com>
53 * XmlDsigC14NTransform.cs,
54 * XmlDsigExcC14NTransform.cs
55 * XmlDsigXsltTransform.cs: Don't use is + as.
56 [Found using Gendarme AvoidRepetitiveCastsRule]
58 2008-06-28 Sebastien Pouliot <sebastien@ximian.com>
60 * XmlDecryptionTransform.cs,
61 * XmlDsigC14NTransform.cs,
62 * XmlDsigEnvelopedSignatureTransform.cs,
63 * XmlDsigExcC14NTransform.cs,
64 * XmlDsigXsltTransform.cs: Replace Type.GetType("x") into typeof(x)
65 [Found using Gendarme AvoidTypeGetTypeForConstantStringsRule]
67 2008-05-25 Sebastien Pouliot <sebastien@ximian.com>
69 * XmlDecryptionTransform.cs,
70 * XmlDsigBase64Transform.cs,
71 * XmlDsigC14NTransform.cs,
72 * XmlDsigEnvelopedSignatureTransform.cs,
73 * XmlDsigExcC14NTransform.cs,
74 * XmlDsigXPathTransform.cs,
75 * XmlDsigXsltTransform.cs,
76 * XmlLicenseTransform.cs: Don't use lock(this). In fact remove locking
77 since the worse that can happen is two copies of the same data.
78 [Found using Gendarme]
80 2008-01-12 Sebastien Pouliot <sebastien@ximian.com>
82 * ReferenceList.cs: Avoid infinite recursion when setting [].
84 * XmlDsigXPathTransform.cs: Fix direct comparison with NaN. Found
87 2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
89 * XmlDsigExcC14NTransform.cs : removed extra [ComVisible].
91 2007-03-22 Atsushi Enomoto <atsushi@ximian.com>
93 * Transform.cs, XmlDsigC14NTransform.cs, XmlDsigExcC14NTransform.cs :
94 handle PropagatedNamespaces.
96 2007-02-01 Atsushi Enomoto <atsushi@ximian.com>
98 * SignedXml.cs : for internal URI (#blah) resolution, use
99 GetIdElement() so that any derived class which overrides this
100 method could resolve the reference correctly.
102 2007-01-25 Atsushi Enomoto <atsushi@ximian.com>
104 * SignedXml.cs : for DataObject, copy namespaces in Data into Object
105 element itself. I haven't solved the puzzle on why it is needed
108 2007-01-23 Atsushi Enomoto <atsushi@ximian.com>
110 * DataObject.cs : it should not append created DataObject element to
111 the owner document. It affects on XPath selection, though currently
112 SignedXml.GetReferenceHash() is bogus so I cannot add meaningful
115 2007-01-22 Atsushi Enomoto <atsushi@ximian.com>
117 * SignedInfo.cs : removed incorrect CanonicalizationMethodObject
119 * EncryptedReference.cs : added exc-c14n support in LoadXml().
121 2007-01-17 Atsushi Enomoto <atsushi@ximian.com>
123 * XmlDsigExcC14NTransform.cs :
124 re-imported from XmlDsigC14NTransform.cs.
126 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
128 * SignedXml.cs : when there is an envelope document and no referenced
129 DataObject was found, then look for the target element from the
132 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
134 * DataObject.cs : don't clear attributes or children unnecessarily.
136 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
138 * SignedXml.cs : actually ComputeSignature() itself does not raise
139 silly exception. It always use CryptographicException.
140 Added another check; malformed reference object.
142 2007-01-12 Atsushi Enomoto <atsushi@ximian.com>
144 * SignedXml.cs : ComputeSignature() should check empty key.
146 2006-10-11 Atsushi Enomoto <atsushi@ximian.com>
148 * SignedXml.cs : when SigningMethod does not match the algorithm that
149 the key actually supports, it raises an error.
151 2006-09-22 Atsushi Enomoto <atsushi@ximian.com>
153 * EncryptedXml.cs : use Padding member instead of const ISO10126 (though
154 I doubt it should be there). Use it in DecryptData().
156 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
158 * EncryptedXml.cs : implement orthodox padding on encryption.
160 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
163 Handle orthodox padding (xmlenc spec section 5.2). However, like
164 EncryptedXmlSample1, it might not exist, so make it optional.
166 2006-09-21 Atsushi Enomoto <atsushi@ximian.com>
168 * EncryptedXml.cs : True fix for DecryptData(). It indeed uses block size
169 (or possibly IV size) in Transform(), but only for stripping the heading
172 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
174 * SignedXml.cs : overwrite my fix with Gert's patch on #79454 to make it
175 possible to handle multiple certificates.
177 2006-09-20 Atsushi Enomoto <atsushi@ximian.com>
179 * SignedXml.cs : handle KeyInfoX509Data in GetPublicKey(). Fixed #1 of
182 2006-09-07 Atsushi Enomoto <atsushi@ximian.com>
184 * EncryptedXml.cs : DecryptData() should not pass block size to
185 Transform() as the index.
187 2006-09-06 Atsushi Enomoto <atsushi@ximian.com>
189 * CipherReference.cs, EncryptedReference.cs : unify duplicate code.
190 Remove incorrect name check in the latter class so that it works
191 for DataReference and KeyReference as well.
193 2006-05-31 Sebastien Pouliot <sebastien@ximian.com>
195 * KeyInfoClause.cs: Under 2.0 the ctor is protected.
196 * Transform.cs: Under 2.0 the ctor is protected. Enable the use of
197 XmlSecureResolver when the security manager is active.
199 2006-01-30 Atsushi Enomoto <atsushi@ximian.com>
201 * XmlDsigEnvelopedSignatureTransform.cs :
202 It should not remove nodes in another XmlNodeList while its
203 iterator is in active use. This is exposed by the recent
206 2005-09-27 Sebastien Pouliot <sebastien@ximian.com>
208 * KeyInfoX509Data.cs: Remove old 2.0 specific check.
209 * XmlDsigXPathTransform.cs: Remove old 2.0 specific check. Return
210 empty node list of the XmlDocument is null (fixed tests case for 2.0
213 2005-05-09 Sebastien Pouliot <sebastien@ximian.com>
215 * EncryptionProperties.cs: Added [IndexerName] attribute to rename
216 "this" from Item to ItemOf. Added missing Item(int) method.
217 * ReferenceList.cs: Added [IndexerName] attribute to rename "this"
220 2005-05-04 Sebastien Pouliot <sebastien@ximian.com>
222 * SignedXml.cs: Return an empty (not null) KeyInfo by default and
223 don't throw a CryptographicException in CheckSignature (both NET_2_0).
224 * KeyInfoRetrievalMethod.cs: Don't include an empty URI attribute
225 in the XML output for NET_2_0.
226 * XmlDsigXPathTransform.cs: Throw an XPathException in NET_2_0 if no
227 xpath expression has been supplied to the transform.
229 2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
231 * XmlDsigXsltTransform.cs: Fixed 2 test cases (that nows throws
232 ArgumentNullException) in 2.0.
234 2005-05-02 Sebastien Pouliot <sebastien@ximian.com>
236 * SignedXml.cs: Throw ArgumentNullException in AddObject and
237 AddReference methods in 2.0.
238 * XmlDsigC14NTransform.cs: Throw ArgumentException when loading from
239 an unknown type in 2.0 (it was simply ignored in 1.x).
241 2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
243 * KeyInfoX509Data.cs: Fixed to work biwht unit tests on both NET_1_1
244 and NET_2_0 (except for obvious beta2 bugs). ArraList are now only
245 created when required.
247 2005-04-25 Sebastien Pouliot <sebastien@ximian.com>
249 * EncryptedData.cs: Avoid re-creating collection object on load.
250 * EncryptedKey.cs: Fix compiler warning (unused variables).
251 * EncryptedType.cs: Remove set on EncryptionProperties property.
252 * IRelDecryptor.cs: New. Interface for XrML support.
253 * SymmetricKeyWrap.cs: Comment unused static method Xor(byte[],int).
254 * XmlDecryptionTransform.cs: Fix compiler warning (unused variable).
255 * XmlDsigEnvelopedSignatureTransform.cs: Fix compiler warning.
256 * XmlLicenseTransform.cs: New. Class for XrML support.
258 2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
260 * SignedInfo.cs: Added [ComVisible (false)] to new property.
261 * SignedXml.cs: Added [ComVisible (false)] to new properties and
263 * ReferenceList.cs: Fixed members signatures for beta2.
264 * Reference.cs: Added [ComVisible (false)] to new set_TransformChain.
265 * EncryptedType.cs: Fix compilation with EncryptionPropertyCollection
267 * DataObject.cs: Fix compilation warnings.
268 * EncryptedKey.cs: Fix compilation with ReferenceList and
269 EncryptionPropertyCollection changes.
270 * EncryptionProperties.cs: Class has been renamed to
271 EncryptionPropertyCollection.
272 * Transform.cs: Added [ComVisible (false)] to new properties and
274 * EncryptedXml.cs: Changed XmlEncRSA1_5Url to XmlEncRSA15Url.
275 * KeyInfoRetrievalMethod.cs: Added [ComVisible (false)] to Type
277 * KeyInfoX509Data.cs: Added [ComVisible (false)] to AddSubjectKeyId
278 (string) method and implemented it.
279 * EncryptedData.cs: Changed EncryptionProperties to new
280 EncryptionPropertyCollection.
281 * XmlDsigC14NTransform.cs: Added [ComVisible (false)] to
282 GetDigestedOutput method and added a basic implementation.
283 * X509IssuerSerial.cs: IssuerName and SerialNumber are now properties.
285 2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
287 * EncryptedXml.cs, SignedXml.cs: Changed X509CertificateEx to
288 X509Certificate2 to match beta2.
290 2005-04-04 Atsushi Enomoto <atsushi@ximian.com>
292 * XmlSignatureStreamReader.cs : new file. Handles Stream to rip CR off.
293 * XmlDsigXPathTransform.cs,
294 XmlDecryptionTransform.cs,
295 XmlDsigC14NTransform.cs,
296 XmlDsigEnvelopedSignatureTransform.cs,
297 XmlDsigXsltTransform.cs : use XmlSignatureStreamReader for Streams.
299 2004-09-16 Sebastien Pouliot <sebastien@ximian.com>
301 * Signature.cs: Fixed Xmldsig and broken unit tests.
302 * SignedXml.cs: Fixed warning (level 4) for unused variable.
303 * XmlDsigEnvelopedSignatureTransform.cs: Fixed warning (l4) for unused
306 2004-09-04 Tim Coleman <tim@timcoleman.com>
307 * XmlDecryptionTransform.cs:
308 Implement rudimentary xpointer support for Except URIs.
310 2004-09-03 Tim Coleman <tim@timcoleman.com>
311 * EncryptedXml.cs: Add support for RSA for key formatting
312 * Reference.cs: Include XmlDecryptionTransform
314 Set the EncryptedKey on the XmlDecryptionTransform when
316 * XmlDecryptionTransform.cs:
317 Clean up decryption transformation to work without ugly hack.
318 * XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
319 Implement this class based on XmlDsigC14N
320 * XmlSignature.cs: Add namespaces for various classes.
321 * KeyInfoEncryptedKey.cs SymmetricKeyWrap.cs:
322 Remove TODO attributes from implemented methods.
323 * KeyInfoName.cs: Put #if NET_2_0 markers in
324 * Transform.cs: Implement GetDigestedOutput
326 2004-09-02 Tim Coleman <tim@timcoleman.com>
327 * CipherReference.cs: Add XmlDecryptionTransform for 2.0
328 * EncryptedType.cs: Fix type initialization to conform to .NET
330 Add support for RSA key decryption and "cloning" for Transform
331 * KeyInfoX509Data Reference.cs SignedInfo.cs XmlDsigC14NTransform.cs:
334 Create internal GetXml function if we already have a doc
335 * SignedXml.cs: Fix the transformation when we get an XmlDocument out
336 * XmlDecryptionTransform.cs: Implemented Xml Decryption
337 * XmlSignature.cs: Add namespace for Xml Decryption
339 2004-08-31 Tim Coleman <tim@timcoleman.com>
340 * XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
342 * SignedXml.cs Transform.cs:
344 * EncryptedXml.cs SymmetricKeyWrap.cs:
345 Get symmetric key wrap to work for AES keys.
347 2004-08-30 Tim Coleman <tim@timcoleman.com>
348 * EncryptedXml.cs: Implement lots of XML Encryption code.
349 * SymmetricKeyWrap.cs: Fix TripleDES keywrap algorithm.
350 * XmlSignature.cs: Add NET_2_0 check around EncryptedKey
352 2004-08-30 Atsushi Enomoto <atsushi@ximian.com>
354 * KeyInfo.cs : NET_1_1 build fix.
356 2004-08-29 Tim Coleman <tim@timcoleman.com>
357 * EncryptedKey.cs: Fix element name when generating XML.
358 * EncryptedXml.cs: Implement more of encryption/decryption routines for .NET 2.0
359 * KeyInfo.cs: Support for EncryptedKey KeyInfoClause.
360 * KeyInfoName.cs: Add missing constructor
361 * SymmetricKeyWrap.cs: Add untested TripleDES key wrap
362 algorithms for encryption/decryption
363 * XmlSignature.cs: Add EncryptedKey constant.
364 * EncryptedData.cs: Add .NET 2.0 method stubs.
366 2004-07-20 Atsushi Enomoto <atsushi@ximian.com>
368 * Signature.cs : Fixed NextElementPos() that incorrectly examined
371 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
373 * EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and
374 XmlEncElementContentUrl.
375 * X509IssuerSerial.cs: Make constructor internal so it doesn't show up
376 in corcompare results for NET_2_0 profile.
378 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
380 * KeyInfoX509Data.cs: Removed old internal IssuerSerial for the
381 undocumented structure (now documented, and public, in Fx 2.0).
382 * X509IssuerSerial.cs: Use structure as public in NET_2_0 and as
383 internal before that.
385 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
387 * SignedXml.cs: API signature fixes
389 2004-06-04 Atsushi Enomoto <atsushi@ximian.com>
391 * SignedXml.cs : Complete fix for bug #59545. Support #xpointer(id()).
392 Namespace fixup is required when signing prefixed xml.
394 2004-06-04 Atsushi Enomoto <atsushi@ximian.com>
396 * SignedXml.cs : Fix for bug #59545. Handle #xpointer(/) as document.
398 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
400 * SignedXml.cs : partial fix for bug #59165 that does not output
401 namespace that conflicts with element's namespace.
403 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
405 * SignedXml.cs: Update TODO informations.
407 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
409 * XmlDsigBase64Transform.cs :
410 LoadInput() should retrieve all the descendants.
411 GetOutput() should handle nodes without digging into child nodes.
413 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
416 Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
417 * XmlDsigBase64Transform.cs : Should not output the content of the
418 selected element nodes. Put text content only those text nodes are
420 * XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
421 * XmlDsigXsltTransform.cs : Use XmlResolver to load document and
422 to transform. Throw null reference exception explicitly when
423 the input was not loaded.
425 2004-04-02 Lluis Sanchez Gual <lluis@ximian.com>
427 * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
428 XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
430 2004-03-30 Sebastien Pouliot <sebastien@ximian.com>
432 * Reference.cs: Changed code to use CryptoConfig to create transforms.
433 This is "the" way to do it (e.g. to allow new transforms to be added)
434 but cause problems when using VS.NET for debugging. Old code is still
435 present, but commented, for that cause.
437 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
439 * SignedXml.cs : namespace nodes also should be supplied for enveloped
441 * KeyInfoRetrievalMethod.cs : Keep input element as well as others.
443 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
445 * SignedXml.cs : XPath transformation output is not type of Stream.
446 Fix to support them by canonicalizing it.
448 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
450 * XmlDsigXsltTransform.cs : GetOutput() now just returns
451 transformation output.
453 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
455 * SignedXml.cs : Added xmlns support for Manifest.
457 2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
459 * Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
460 This should help us to validate more tests from the Phaos suite.
461 Note: Microsoft doesn't support this and we only support it for
462 verification (not signature generation).
463 * SignedXml.cs: Added support for Manifest, including recursive
464 manifests. Made some changes to reuse existing code as much as
465 possible. Better support for local/remote files - but requires
466 catching an Uri exception for local files :-(.
467 * XmlSignature.cs: Added constants for Manifest element and URI.
469 2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
472 - Use specified (or default) XmlResolver to get external resource,
473 instead of using WebRequest directly. Also modified it easier.
474 - ApplyTransform() : Clone only when it is required. Handle
475 transformation output other than Stream.
476 - Even if applicable key was not found in GetHash(), don't throw
477 crypto exception every time and just return false (MS does it).
478 Throw an exception only when no key was specified as KeyInfo.
479 * XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
480 incorrectly set InputTypes internally.
481 * XmlDsigXPathTransform.cs : Context namespace nodes in loaded
482 transform parameter (i.e. <XPath>..</XPath>) should be registered
483 to XsltContext. Otherwise prefix binding error occurs.
484 Just filter attribute node, instead of filtering attribute children.
486 2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
488 * SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
489 false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
490 -retrieval-method.xml in the Phaos test suite.
492 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
494 * Reference.cs, Signature.cs : They should keep input element and hence
495 keep namespace context nodes on LoadXml() as same as SignedInfo.
496 * SignedXml.cs : Fixed SignedInfoTransformed() to fill context
497 namespace nodes into the input document (unlike other classes, there
498 seems no other way to keep ns-nodes here).
499 Now some of W3C phaos xmldsig test passes.
501 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
503 * SignedInfo.cs : It holds input element and directly returns it
504 unless the properties are not set.
505 Throw CryptographicException when Reference is empty *and* GetXml()
506 is *created*. (when just returning input element, no exception is
509 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
511 * DataObject.cs : It now holds element instead of each parameters.
512 Avoid loading element content to different document unless its
513 properties were modified (to keep namespace node context).
515 2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
517 * SignedXml.cs: Removed unused (and commented) ComputeHash method.
519 2004-03-19 Atsushi Enomoto <atsushi@ximian.com>
521 * XmlDsigXPathTransform.cs : just found stupid bug.
523 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
525 * SignedXml.cs: Lot of small changes to complete TODOs and to match
528 2004-03-17 Sebastien Pouliot <sebastien@ximian.com>
530 * SignedXml.cs: The old method was working for creating signature -
531 so it was reintroduced for (only) this case.
533 2004-03-17 Atsushi Enomoto <atsushi@ximian.com>
535 * SignedXml.cs : the result from enveloped signature transform should
536 be canonicalized before getting its hash.
537 * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
538 if the node is Signature itself it is not allowed.
539 PreserveWhitespace is required.
541 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
543 * SignedXml.cs: Changed (again). This time we use the Stream when
544 loading the document. We now pass 14 out of 15 of the Merlin's
545 tests (including one that MS fails). The only failing test is the
546 one that use the EnvelopedTransform (unfinished).
548 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
550 * SignedXml.cs: Commented my last changes to SignedXml as it made other
551 unis tests fail (in the c14n-izer).
553 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
555 * XmlDsigNodeList.cs : removed BOM from code file.
557 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
559 * XmlDsigNodeList.cs : added.
560 * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
561 * XmlDsigEnvelopedSignatureTransform.cs :
562 Implemented GetOutput(). However, it is totally MS behavior
563 dependent and not based on the spec (we can reimplement it based on
564 improved XmlDsigXPathTransform).
565 * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
567 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
569 * SignedXml.cs: Now use the original Signature element before applying
570 the C14N transformation. Added a check for null in LoadXml.
572 2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
574 * XmlDsigXPathTransform.cs : implemented GetOutput() (with some
575 internal XPath context classes).
577 2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
579 * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
580 and LoadInput() should just load transformed document.
581 Transformation should be done in GetOutput() because either of the
582 stylesheet or input can be loaded in prior. Adjusted code format.
584 2004-03-12 Sebastien Pouliot <sebastien@ximian.com>
586 * Signature.cs: KeyInfo isn't required in schema.
587 * SignedInfo.cs: Added support for missing HMACOutputLength.
588 * SignedXml.cs: Added support to download a reference (experimental).
589 Now throw exception for unknown hash algorithm or canonicalization
590 methods. Changed GetPublicKey to iterate all available keys (not just
593 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
595 * KeyInfo.cs : Attribute Id was not handlded.
596 * KeyInfoX509Data.cs : all array members return null when there are
597 no such contents. Just find child elements, not descendants.
598 * SignedXml.cs : key is not always required when CheckSignature() is
600 * XmlDsigXsltTransform.cs : LoadInput should allow node list.
601 * XmlSignature.cs : added GetChildElements().
603 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
605 * KeyInfoX509Data.cs : trivial local var name fix.
607 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
609 * KeyInfoX509Data.cs,
612 XmlSignature.cs : GetElementsByTagName() should be eliminated or
613 at least should use namespace URI.
615 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
618 Fixed LoadXml() to skip text nodes as MS.NET does.
619 Uncommented out RSAKeyValue.
620 * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
621 that incorrectly acquires descendants. Throw CryptographicException
622 if required elements were not found.
623 * Transform.cs : added internal GetResolver().
624 * XmlDsigXPathTransform.cs,
625 XmlDsigXsltTransform.cs : use XmlResolver.
627 2004-02-19 Tim Coleman <tim@timcoleman.com>
628 * SymmetricKeyWrap.cs:
631 Add calls to SymmetricKeyWrap
633 2004-02-11 Sebastien Pouliot <sebastien@ximian.com>
635 * Reference.cs: Added LoadInnerXml to transforms. Removed unused
637 * Transform.cs: Import GetInnerXml in GetXml.
638 * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
640 * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
641 * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
642 expression and LoadInput. It nows match MS implementation but doesn't
643 work like I think it should (but neither is MS implementation).
645 2004-02-10 Tim Coleman <tim@timcoleman.com>
646 * DataReference.cs EncryptedKey.cs EncryptedXml.cs
647 * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
648 * X509IssuerSerial.cs XmlDecryptionTransform.cs:
649 Add new classes for Xml Encryption in 1.2
650 * CipherData.cs CipherReference.cs EncryptedData.cs
651 * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
652 Change NamespaceURI reference to EncryptedXml class.
653 Make compliant with 1.2
655 Add new entity names.
658 2004-02-07 Tim Coleman <tim@timcoleman.com>
659 * CipherData.cs CipherReference.cs EncryptedData.cs
660 * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
661 * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
662 New classes added for Xml Encryption in 1.2
663 * KeyInfoRetrievalMethod.cs:
664 Added Type attribute for 1.2
666 Added string constants for algorithm namespaces
668 2004-01-11 Sebastien Pouliot <spouliot@videotron.ca>
670 * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
672 * Transform.cs: Fixed class signature (for 1.1+) by adding public to
675 2003-12-14 Sebastien Pouliot <spouliot@videotron.ca>
677 * SignedXml.cs: Now load the public key when verifying (bug #52084)
678 and can find an element by it's Id when Id isn't defined in DTD or XSD.
680 2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
682 * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
684 2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
686 * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
689 2003-06-19 Nick Drochak <ndrochak@gol.com>
692 * RSAKeyValue.cs: Work around for mcs? bug 45127.
694 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
696 * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
697 * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
699 2003-05-25 Sebastien Pouliot <spouliot@videotron.ca>
701 * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
702 to match framework 1.1 (this was a bug in framework 1.0).
704 2003-05-10 Sebastien Pouliot <spouliot@videotron.ca>
706 * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
707 documentation (no public declaration).
708 * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
709 documentation (no public declaration).
711 2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
713 * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
715 * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
717 * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
719 2003-03-02 Sebastien Pouliot <spouliot@videotron.ca>
721 * DSAKeyValue.cs: New XML generation is commented. Old string technique
722 did a better job to match MS implementation.
723 * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
724 * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
725 * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
726 * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
727 * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
728 * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
729 * RSAKeyValue.cs: New XML generation is commented. Old string technique
730 did a better job to match MS implementation.
731 * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
732 * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
733 * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
734 * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
735 * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
736 * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
737 * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
738 * XmlSignature.cs: New. Private contants (construct similar to WSE).
740 2003-02-19 Sebastien Pouliot <spouliot@videotron.ca>
742 * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
743 will reflect reality).
745 2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
747 * KeyInfo.cs: Changed some protected declaration to private.
748 * KeyInfoName.cs: Changed some protected declaration to private.
749 * KeyInfoNode.cs: Changed some protected declaration to private.
750 * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
751 * KeyInfoX509Data.cs: Changed some protected declaration to private.
752 * Transform.cs: Changed some protected declaration to private.
753 * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
754 * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
755 * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
756 * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
757 * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
758 * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
760 2002-11-28 Sebastien Pouliot <spouliot@videotron.ca>
762 * TODOAttribute.cs: New. Still much to do ;-)
763 * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
765 * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
768 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
770 * DataObject.cs: New. Complete implementation.
771 * DSAKeyValue.cs: New. Complete implementation.
772 * KeyInfo.cs: New. Complete implementation.
773 * KeyInfoClause.cs: New. Abstract class (complete).
774 * KeyInfoName.cs: New. Complete implementation.
775 * KeyInfoNode.cs: New. Complete implementation.
776 * KeyInfoRetrievalMethod.cs: New. Complete implementation.
777 * KeyInfoX509Data.cs: New. Complete implementation.
778 * Reference.cs: New. Incomplete implementation.
779 * RSAKeyValue.cs: New. Complete implementation.
780 * Signature.cs: New. Almost complete implementation - returned
781 XML isn't exactly like the MS implementation.
782 * SignedInfo.cs: New. Complete except SignatureLength.
783 * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
785 * Transform.cs: New. Abstract class (complete).
786 * TransformChain.cs: New. Complete implementation.
787 * XmlDsigBase64Transform.cs: New. Stub + basic logic.
788 * XmlDsigC14NTransform.cs: New. Stub + basic logic.
789 * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
790 * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
791 * XmlDsigXPathTransform.cs: New. Stub + basic logic.
792 * XmlDsigXsltTransform.cs: New. Stub + basic logic.