ChangeLog 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. 2004-08-31 Tim Coleman <[email protected]>
  2. * XmlDsigExcC14NTransform.cs XmlDsigExcC14NWithCommentsTransform.cs:
  3. Add new stub classes
  4. * SignedXml.cs Transform.cs:
  5. New methods for 2.0
  6. * EncryptedXml.cs SymmetricKeyWrap.cs:
  7. Get symmetric key wrap to work for AES keys.
  8. 2004-08-30 Tim Coleman <[email protected]>
  9. * EncryptedXml.cs: Implement lots of XML Encryption code.
  10. * SymmetricKeyWrap.cs: Fix TripleDES keywrap algorithm.
  11. * XmlSignature.cs: Add NET_2_0 check around EncryptedKey
  12. 2004-08-30 Atsushi Enomoto <[email protected]>
  13. * KeyInfo.cs : NET_1_1 build fix.
  14. 2004-08-29 Tim Coleman <[email protected]>
  15. * EncryptedKey.cs: Fix element name when generating XML.
  16. * EncryptedXml.cs: Implement more of encryption/decryption routines for .NET 2.0
  17. * KeyInfo.cs: Support for EncryptedKey KeyInfoClause.
  18. * KeyInfoName.cs: Add missing constructor
  19. * SymmetricKeyWrap.cs: Add untested TripleDES key wrap
  20. algorithms for encryption/decryption
  21. * XmlSignature.cs: Add EncryptedKey constant.
  22. * EncryptedData.cs: Add .NET 2.0 method stubs.
  23. 2004-07-20 Atsushi Enomoto <[email protected]>
  24. * Signature.cs : Fixed NextElementPos() that incorrectly examined
  25. node matching.
  26. 2004-07-07 Sebastien Pouliot <[email protected]>
  27. * EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and
  28. XmlEncElementContentUrl.
  29. * X509IssuerSerial.cs: Make constructor internal so it doesn't show up
  30. in corcompare results for NET_2_0 profile.
  31. 2004-06-17 Sebastien Pouliot <[email protected]>
  32. * KeyInfoX509Data.cs: Removed old internal IssuerSerial for the
  33. undocumented structure (now documented, and public, in Fx 2.0).
  34. * X509IssuerSerial.cs: Use structure as public in NET_2_0 and as
  35. internal before that.
  36. 2004-06-10 Gert Driesen <[email protected]>
  37. * SignedXml.cs: API signature fixes
  38. 2004-06-04 Atsushi Enomoto <[email protected]>
  39. * SignedXml.cs : Complete fix for bug #59545. Support #xpointer(id()).
  40. Namespace fixup is required when signing prefixed xml.
  41. 2004-06-04 Atsushi Enomoto <[email protected]>
  42. * SignedXml.cs : Fix for bug #59545. Handle #xpointer(/) as document.
  43. 2004-05-31 Atsushi Enomoto <[email protected]>
  44. * SignedXml.cs : partial fix for bug #59165 that does not output
  45. namespace that conflicts with element's namespace.
  46. 2004-05-13 Sebastien Pouliot <[email protected]>
  47. * SignedXml.cs: Update TODO informations.
  48. 2004-05-13 Atsushi Enomoto <[email protected]>
  49. * XmlDsigBase64Transform.cs :
  50. LoadInput() should retrieve all the descendants.
  51. GetOutput() should handle nodes without digging into child nodes.
  52. 2004-05-05 Atsushi Enomoto <[email protected]>
  53. * SignedXml.cs,
  54. Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
  55. * XmlDsigBase64Transform.cs : Should not output the content of the
  56. selected element nodes. Put text content only those text nodes are
  57. in the node list.
  58. * XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
  59. * XmlDsigXsltTransform.cs : Use XmlResolver to load document and
  60. to transform. Throw null reference exception explicitly when
  61. the input was not loaded.
  62. 2004-04-02 Lluis Sanchez Gual <[email protected]>
  63. * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
  64. XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
  65. 2004-03-30 Sebastien Pouliot <[email protected]>
  66. * Reference.cs: Changed code to use CryptoConfig to create transforms.
  67. This is "the" way to do it (e.g. to allow new transforms to be added)
  68. but cause problems when using VS.NET for debugging. Old code is still
  69. present, but commented, for that cause.
  70. 2004-03-27 Atsushi Enomoto <[email protected]>
  71. * SignedXml.cs : namespace nodes also should be supplied for enveloped
  72. objects.
  73. * KeyInfoRetrievalMethod.cs : Keep input element as well as others.
  74. 2004-03-27 Atsushi Enomoto <[email protected]>
  75. * SignedXml.cs : XPath transformation output is not type of Stream.
  76. Fix to support them by canonicalizing it.
  77. 2004-03-27 Atsushi Enomoto <[email protected]>
  78. * XmlDsigXsltTransform.cs : GetOutput() now just returns
  79. transformation output.
  80. 2004-03-27 Atsushi Enomoto <[email protected]>
  81. * SignedXml.cs : Added xmlns support for Manifest.
  82. 2004-03-26 Sebastien Pouliot <[email protected]>
  83. * Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
  84. This should help us to validate more tests from the Phaos suite.
  85. Note: Microsoft doesn't support this and we only support it for
  86. verification (not signature generation).
  87. * SignedXml.cs: Added support for Manifest, including recursive
  88. manifests. Made some changes to reuse existing code as much as
  89. possible. Better support for local/remote files - but requires
  90. catching an Uri exception for local files :-(.
  91. * XmlSignature.cs: Added constants for Manifest element and URI.
  92. 2004-03-26 Atsushi Enomoto <[email protected]>
  93. * SignedXml.cs :
  94. - Use specified (or default) XmlResolver to get external resource,
  95. instead of using WebRequest directly. Also modified it easier.
  96. - ApplyTransform() : Clone only when it is required. Handle
  97. transformation output other than Stream.
  98. - Even if applicable key was not found in GetHash(), don't throw
  99. crypto exception every time and just return false (MS does it).
  100. Throw an exception only when no key was specified as KeyInfo.
  101. * XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
  102. incorrectly set InputTypes internally.
  103. * XmlDsigXPathTransform.cs : Context namespace nodes in loaded
  104. transform parameter (i.e. <XPath>..</XPath>) should be registered
  105. to XsltContext. Otherwise prefix binding error occurs.
  106. Just filter attribute node, instead of filtering attribute children.
  107. 2004-03-25 Sebastien Pouliot <[email protected]>
  108. * SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
  109. false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
  110. -retrieval-method.xml in the Phaos test suite.
  111. 2004-03-24 Atsushi Enomoto <[email protected]>
  112. * Reference.cs, Signature.cs : They should keep input element and hence
  113. keep namespace context nodes on LoadXml() as same as SignedInfo.
  114. * SignedXml.cs : Fixed SignedInfoTransformed() to fill context
  115. namespace nodes into the input document (unlike other classes, there
  116. seems no other way to keep ns-nodes here).
  117. Now some of W3C phaos xmldsig test passes.
  118. 2004-03-23 Atsushi Enomoto <[email protected]>
  119. * SignedInfo.cs : It holds input element and directly returns it
  120. unless the properties are not set.
  121. Throw CryptographicException when Reference is empty *and* GetXml()
  122. is *created*. (when just returning input element, no exception is
  123. thrown).
  124. 2004-03-23 Atsushi Enomoto <[email protected]>
  125. * DataObject.cs : It now holds element instead of each parameters.
  126. Avoid loading element content to different document unless its
  127. properties were modified (to keep namespace node context).
  128. 2004-03-20 Sebastien Pouliot <[email protected]>
  129. * SignedXml.cs: Removed unused (and commented) ComputeHash method.
  130. 2004-03-19 Atsushi Enomoto <[email protected]>
  131. * XmlDsigXPathTransform.cs : just found stupid bug.
  132. 2004-03-19 Sebastien Pouliot <[email protected]>
  133. * SignedXml.cs: Lot of small changes to complete TODOs and to match
  134. the new unit tests.
  135. 2004-03-17 Sebastien Pouliot <[email protected]>
  136. * SignedXml.cs: The old method was working for creating signature -
  137. so it was reintroduced for (only) this case.
  138. 2004-03-17 Atsushi Enomoto <[email protected]>
  139. * SignedXml.cs : the result from enveloped signature transform should
  140. be canonicalized before getting its hash.
  141. * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
  142. if the node is Signature itself it is not allowed.
  143. PreserveWhitespace is required.
  144. 2004-03-16 Sebastien Pouliot <[email protected]>
  145. * SignedXml.cs: Changed (again). This time we use the Stream when
  146. loading the document. We now pass 14 out of 15 of the Merlin's
  147. tests (including one that MS fails). The only failing test is the
  148. one that use the EnvelopedTransform (unfinished).
  149. 2004-03-16 Sebastien Pouliot <[email protected]>
  150. * SignedXml.cs: Commented my last changes to SignedXml as it made other
  151. unis tests fail (in the c14n-izer).
  152. 2004-03-16 Atsushi Enomoto <[email protected]>
  153. * XmlDsigNodeList.cs : removed BOM from code file.
  154. 2004-03-16 Atsushi Enomoto <[email protected]>
  155. * XmlDsigNodeList.cs : added.
  156. * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
  157. * XmlDsigEnvelopedSignatureTransform.cs :
  158. Implemented GetOutput(). However, it is totally MS behavior
  159. dependent and not based on the spec (we can reimplement it based on
  160. improved XmlDsigXPathTransform).
  161. * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
  162. 2004-03-15 Sebastien Pouliot <[email protected]>
  163. * SignedXml.cs: Now use the original Signature element before applying
  164. the C14N transformation. Added a check for null in LoadXml.
  165. 2004-03-14 Atsushi Enomoto <[email protected]>
  166. * XmlDsigXPathTransform.cs : implemented GetOutput() (with some
  167. internal XPath context classes).
  168. 2004-03-13 Atsushi Enomoto <[email protected]>
  169. * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
  170. and LoadInput() should just load transformed document.
  171. Transformation should be done in GetOutput() because either of the
  172. stylesheet or input can be loaded in prior. Adjusted code format.
  173. 2004-03-12 Sebastien Pouliot <[email protected]>
  174. * Signature.cs: KeyInfo isn't required in schema.
  175. * SignedInfo.cs: Added support for missing HMACOutputLength.
  176. * SignedXml.cs: Added support to download a reference (experimental).
  177. Now throw exception for unknown hash algorithm or canonicalization
  178. methods. Changed GetPublicKey to iterate all available keys (not just
  179. the first one).
  180. 2004-03-09 Atsushi Enomoto <[email protected]>
  181. * KeyInfo.cs : Attribute Id was not handlded.
  182. * KeyInfoX509Data.cs : all array members return null when there are
  183. no such contents. Just find child elements, not descendants.
  184. * SignedXml.cs : key is not always required when CheckSignature() is
  185. called.
  186. * XmlDsigXsltTransform.cs : LoadInput should allow node list.
  187. * XmlSignature.cs : added GetChildElements().
  188. 2004-03-09 Atsushi Enomoto <[email protected]>
  189. * KeyInfoX509Data.cs : trivial local var name fix.
  190. 2004-03-09 Atsushi Enomoto <[email protected]>
  191. * KeyInfoX509Data.cs,
  192. Reference.cs,
  193. SignedInfo.cs,
  194. XmlSignature.cs : GetElementsByTagName() should be eliminated or
  195. at least should use namespace URI.
  196. 2004-03-04 Atsushi Enomoto <[email protected]>
  197. * KeyInfo.cs :
  198. Fixed LoadXml() to skip text nodes as MS.NET does.
  199. Uncommented out RSAKeyValue.
  200. * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
  201. that incorrectly acquires descendants. Throw CryptographicException
  202. if required elements were not found.
  203. * Transform.cs : added internal GetResolver().
  204. * XmlDsigXPathTransform.cs,
  205. XmlDsigXsltTransform.cs : use XmlResolver.
  206. 2004-02-19 Tim Coleman <[email protected]>
  207. * SymmetricKeyWrap.cs:
  208. Add AES Key Wrap
  209. * EncryptedXml.cs:
  210. Add calls to SymmetricKeyWrap
  211. 2004-02-11 Sebastien Pouliot <[email protected]>
  212. * Reference.cs: Added LoadInnerXml to transforms. Removed unused
  213. variable.
  214. * Transform.cs: Import GetInnerXml in GetXml.
  215. * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
  216. allocations.
  217. * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
  218. * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
  219. expression and LoadInput. It nows match MS implementation but doesn't
  220. work like I think it should (but neither is MS implementation).
  221. 2004-02-10 Tim Coleman <[email protected]>
  222. * DataReference.cs EncryptedKey.cs EncryptedXml.cs
  223. * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
  224. * X509IssuerSerial.cs XmlDecryptionTransform.cs:
  225. Add new classes for Xml Encryption in 1.2
  226. * CipherData.cs CipherReference.cs EncryptedData.cs
  227. * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
  228. Change NamespaceURI reference to EncryptedXml class.
  229. Make compliant with 1.2
  230. * XmlEncryption.cs:
  231. Add new entity names.
  232. 2004-02-07 Tim Coleman <[email protected]>
  233. * CipherData.cs CipherReference.cs EncryptedData.cs
  234. * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
  235. * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
  236. New classes added for Xml Encryption in 1.2
  237. * KeyInfoRetrievalMethod.cs:
  238. Added Type attribute for 1.2
  239. * XmlSignature.cs:
  240. Added string constants for algorithm namespaces
  241. 2004-01-11 Sebastien Pouliot <[email protected]>
  242. * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
  243. Resolver property.
  244. * Transform.cs: Fixed class signature (for 1.1+) by adding public to
  245. Resolver property.
  246. 2003-12-14 Sebastien Pouliot <[email protected]>
  247. * SignedXml.cs: Now load the public key when verifying (bug #52084)
  248. and can find an element by it's Id when Id isn't defined in DTD or XSD.
  249. 2003-07-27 Sebastien Pouliot <[email protected]>
  250. * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
  251. 2003-07-24 Sebastien Pouliot <[email protected]>
  252. * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
  253. from Aleksey Sanin.
  254. 2003-06-19 Nick Drochak <[email protected]>
  255. * DSAKeyValue.cs:
  256. * RSAKeyValue.cs: Work around for mcs? bug 45127.
  257. 2003-06-11 Sebastien Pouliot <[email protected]>
  258. * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
  259. * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
  260. 2003-05-25 Sebastien Pouliot <[email protected]>
  261. * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
  262. to match framework 1.1 (this was a bug in framework 1.0).
  263. 2003-05-10 Sebastien Pouliot <[email protected]>
  264. * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
  265. documentation (no public declaration).
  266. * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
  267. documentation (no public declaration).
  268. 2003-03-03 Sebastien Pouliot <[email protected]>
  269. * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
  270. XML generation).
  271. * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
  272. XML generation).
  273. * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
  274. 2003-03-02 Sebastien Pouliot <[email protected]>
  275. * DSAKeyValue.cs: New XML generation is commented. Old string technique
  276. did a better job to match MS implementation.
  277. * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
  278. * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
  279. * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
  280. * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
  281. * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
  282. * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
  283. * RSAKeyValue.cs: New XML generation is commented. Old string technique
  284. did a better job to match MS implementation.
  285. * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
  286. * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
  287. * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
  288. * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
  289. * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
  290. * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
  291. * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
  292. * XmlSignature.cs: New. Private contants (construct similar to WSE).
  293. 2003-02-19 Sebastien Pouliot <[email protected]>
  294. * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
  295. will reflect reality).
  296. 2003-01-17 Sebastien Pouliot <[email protected]>
  297. * KeyInfo.cs: Changed some protected declaration to private.
  298. * KeyInfoName.cs: Changed some protected declaration to private.
  299. * KeyInfoNode.cs: Changed some protected declaration to private.
  300. * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
  301. * KeyInfoX509Data.cs: Changed some protected declaration to private.
  302. * Transform.cs: Changed some protected declaration to private.
  303. * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
  304. * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
  305. * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
  306. * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
  307. * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
  308. * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
  309. 2002-11-28 Sebastien Pouliot <[email protected]>
  310. * TODOAttribute.cs: New. Still much to do ;-)
  311. * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
  312. functionnal.
  313. * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
  314. functionnal.
  315. 2002-11-20 Sebastien Pouliot <[email protected]>
  316. * DataObject.cs: New. Complete implementation.
  317. * DSAKeyValue.cs: New. Complete implementation.
  318. * KeyInfo.cs: New. Complete implementation.
  319. * KeyInfoClause.cs: New. Abstract class (complete).
  320. * KeyInfoName.cs: New. Complete implementation.
  321. * KeyInfoNode.cs: New. Complete implementation.
  322. * KeyInfoRetrievalMethod.cs: New. Complete implementation.
  323. * KeyInfoX509Data.cs: New. Complete implementation.
  324. * Reference.cs: New. Incomplete implementation.
  325. * RSAKeyValue.cs: New. Complete implementation.
  326. * Signature.cs: New. Almost complete implementation - returned
  327. XML isn't exactly like the MS implementation.
  328. * SignedInfo.cs: New. Complete except SignatureLength.
  329. * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
  330. Still many TODO!
  331. * Transform.cs: New. Abstract class (complete).
  332. * TransformChain.cs: New. Complete implementation.
  333. * XmlDsigBase64Transform.cs: New. Stub + basic logic.
  334. * XmlDsigC14NTransform.cs: New. Stub + basic logic.
  335. * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
  336. * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
  337. * XmlDsigXPathTransform.cs: New. Stub + basic logic.
  338. * XmlDsigXsltTransform.cs: New. Stub + basic logic.