ChangeLog 16 KB

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