ChangeLog 17 KB

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