ChangeLog 27 KB

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