ChangeLog 16 KB

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