ChangeLog 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. 2004-03-24 Atsushi Enomoto <[email protected]>
  2. * Reference.cs, Signature.cs : They should keep input element and hence
  3. keep namespace context nodes on LoadXml() as same as SignedInfo.
  4. * SignedXml.cs : Fixed SignedInfoTransformed() to fill context
  5. namespace nodes into the input document (unlike other classes, there
  6. seems no other way to keep ns-nodes here).
  7. Now some of W3C phaos xmldsig test passes.
  8. 2004-03-23 Atsushi Enomoto <[email protected]>
  9. * SignedInfo.cs : It holds input element and directly returns it
  10. unless the properties are not set.
  11. Throw CryptographicException when Reference is empty *and* GetXml()
  12. is *created*. (when just returning input element, no exception is
  13. thrown).
  14. 2004-03-23 Atsushi Enomoto <[email protected]>
  15. * DataObject.cs : It now holds element instead of each parameters.
  16. Avoid loading element content to different document unless its
  17. properties were modified (to keep namespace node context).
  18. 2004-03-20 Sebastien Pouliot <[email protected]>
  19. * SignedXml.cs: Removed unused (and commented) ComputeHash method.
  20. 2004-03-19 Atsushi Enomoto <[email protected]>
  21. * XmlDsigXPathTransform.cs : just found stupid bug.
  22. 2004-03-19 Sebastien Pouliot <[email protected]>
  23. * SignedXml.cs: Lot of small changes to complete TODOs and to match
  24. the new unit tests.
  25. 2004-03-17 Sebastien Pouliot <[email protected]>
  26. * SignedXml.cs: The old method was working for creating signature -
  27. so it was reintroduced for (only) this case.
  28. 2004-03-17 Atsushi Enomoto <[email protected]>
  29. * SignedXml.cs : the result from enveloped signature transform should
  30. be canonicalized before getting its hash.
  31. * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
  32. if the node is Signature itself it is not allowed.
  33. PreserveWhitespace is required.
  34. 2004-03-16 Sebastien Pouliot <[email protected]>
  35. * SignedXml.cs: Changed (again). This time we use the Stream when
  36. loading the document. We now pass 14 out of 15 of the Merlin's
  37. tests (including one that MS fails). The only failing test is the
  38. one that use the EnvelopedTransform (unfinished).
  39. 2004-03-16 Sebastien Pouliot <[email protected]>
  40. * SignedXml.cs: Commented my last changes to SignedXml as it made other
  41. unis tests fail (in the c14n-izer).
  42. 2004-03-16 Atsushi Enomoto <[email protected]>
  43. * XmlDsigNodeList.cs : removed BOM from code file.
  44. 2004-03-16 Atsushi Enomoto <[email protected]>
  45. * XmlDsigNodeList.cs : added.
  46. * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
  47. * XmlDsigEnvelopedSignatureTransform.cs :
  48. Implemented GetOutput(). However, it is totally MS behavior
  49. dependent and not based on the spec (we can reimplement it based on
  50. improved XmlDsigXPathTransform).
  51. * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
  52. 2004-03-15 Sebastien Pouliot <[email protected]>
  53. * SignedXml.cs: Now use the original Signature element before applying
  54. the C14N transformation. Added a check for null in LoadXml.
  55. 2004-03-14 Atsushi Enomoto <[email protected]>
  56. * XmlDsigXPathTransform.cs : implemented GetOutput() (with some
  57. internal XPath context classes).
  58. 2004-03-13 Atsushi Enomoto <[email protected]>
  59. * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
  60. and LoadInput() should just load transformed document.
  61. Transformation should be done in GetOutput() because either of the
  62. stylesheet or input can be loaded in prior. Adjusted code format.
  63. 2004-03-12 Sebastien Pouliot <[email protected]>
  64. * Signature.cs: KeyInfo isn't required in schema.
  65. * SignedInfo.cs: Added support for missing HMACOutputLength.
  66. * SignedXml.cs: Added support to download a reference (experimental).
  67. Now throw exception for unknown hash algorithm or canonicalization
  68. methods. Changed GetPublicKey to iterate all available keys (not just
  69. the first one).
  70. 2004-03-09 Atsushi Enomoto <[email protected]>
  71. * KeyInfo.cs : Attribute Id was not handlded.
  72. * KeyInfoX509Data.cs : all array members return null when there are
  73. no such contents. Just find child elements, not descendants.
  74. * SignedXml.cs : key is not always required when CheckSignature() is
  75. called.
  76. * XmlDsigXsltTransform.cs : LoadInput should allow node list.
  77. * XmlSignature.cs : added GetChildElements().
  78. 2004-03-09 Atsushi Enomoto <[email protected]>
  79. * KeyInfoX509Data.cs : trivial local var name fix.
  80. 2004-03-09 Atsushi Enomoto <[email protected]>
  81. * KeyInfoX509Data.cs,
  82. Reference.cs,
  83. SignedInfo.cs,
  84. XmlSignature.cs : GetElementsByTagName() should be eliminated or
  85. at least should use namespace URI.
  86. 2004-03-04 Atsushi Enomoto <[email protected]>
  87. * KeyInfo.cs :
  88. Fixed LoadXml() to skip text nodes as MS.NET does.
  89. Uncommented out RSAKeyValue.
  90. * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
  91. that incorrectly acquires descendants. Throw CryptographicException
  92. if required elements were not found.
  93. * Transform.cs : added internal GetResolver().
  94. * XmlDsigXPathTransform.cs,
  95. XmlDsigXsltTransform.cs : use XmlResolver.
  96. 2004-02-19 Tim Coleman <[email protected]>
  97. * SymmetricKeyWrap.cs:
  98. Add AES Key Wrap
  99. * EncryptedXml.cs:
  100. Add calls to SymmetricKeyWrap
  101. 2004-02-11 Sebastien Pouliot <[email protected]>
  102. * Reference.cs: Added LoadInnerXml to transforms. Removed unused
  103. variable.
  104. * Transform.cs: Import GetInnerXml in GetXml.
  105. * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
  106. allocations.
  107. * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
  108. * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
  109. expression and LoadInput. It nows match MS implementation but doesn't
  110. work like I think it should (but neither is MS implementation).
  111. 2004-02-10 Tim Coleman <[email protected]>
  112. * DataReference.cs EncryptedKey.cs EncryptedXml.cs
  113. * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
  114. * X509IssuerSerial.cs XmlDecryptionTransform.cs:
  115. Add new classes for Xml Encryption in 1.2
  116. * CipherData.cs CipherReference.cs EncryptedData.cs
  117. * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
  118. Change NamespaceURI reference to EncryptedXml class.
  119. Make compliant with 1.2
  120. * XmlEncryption.cs:
  121. Add new entity names.
  122. 2004-02-07 Tim Coleman <[email protected]>
  123. * CipherData.cs CipherReference.cs EncryptedData.cs
  124. * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
  125. * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
  126. New classes added for Xml Encryption in 1.2
  127. * KeyInfoRetrievalMethod.cs:
  128. Added Type attribute for 1.2
  129. * XmlSignature.cs:
  130. Added string constants for algorithm namespaces
  131. 2004-01-11 Sebastien Pouliot <[email protected]>
  132. * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
  133. Resolver property.
  134. * Transform.cs: Fixed class signature (for 1.1+) by adding public to
  135. Resolver property.
  136. 2003-12-14 Sebastien Pouliot <[email protected]>
  137. * SignedXml.cs: Now load the public key when verifying (bug #52084)
  138. and can find an element by it's Id when Id isn't defined in DTD or XSD.
  139. 2003-07-27 Sebastien Pouliot <[email protected]>
  140. * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
  141. 2003-07-24 Sebastien Pouliot <[email protected]>
  142. * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
  143. from Aleksey Sanin.
  144. 2003-06-19 Nick Drochak <[email protected]>
  145. * DSAKeyValue.cs:
  146. * RSAKeyValue.cs: Work around for mcs? bug 45127.
  147. 2003-06-11 Sebastien Pouliot <[email protected]>
  148. * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
  149. * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
  150. 2003-05-25 Sebastien Pouliot <[email protected]>
  151. * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
  152. to match framework 1.1 (this was a bug in framework 1.0).
  153. 2003-05-10 Sebastien Pouliot <[email protected]>
  154. * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
  155. documentation (no public declaration).
  156. * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
  157. documentation (no public declaration).
  158. 2003-03-03 Sebastien Pouliot <[email protected]>
  159. * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
  160. XML generation).
  161. * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
  162. XML generation).
  163. * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
  164. 2003-03-02 Sebastien Pouliot <[email protected]>
  165. * DSAKeyValue.cs: New XML generation is commented. Old string technique
  166. did a better job to match MS implementation.
  167. * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
  168. * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
  169. * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
  170. * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
  171. * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
  172. * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
  173. * RSAKeyValue.cs: New XML generation is commented. Old string technique
  174. did a better job to match MS implementation.
  175. * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
  176. * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
  177. * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
  178. * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
  179. * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
  180. * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
  181. * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
  182. * XmlSignature.cs: New. Private contants (construct similar to WSE).
  183. 2003-02-19 Sebastien Pouliot <[email protected]>
  184. * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
  185. will reflect reality).
  186. 2003-01-17 Sebastien Pouliot <[email protected]>
  187. * KeyInfo.cs: Changed some protected declaration to private.
  188. * KeyInfoName.cs: Changed some protected declaration to private.
  189. * KeyInfoNode.cs: Changed some protected declaration to private.
  190. * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
  191. * KeyInfoX509Data.cs: Changed some protected declaration to private.
  192. * Transform.cs: Changed some protected declaration to private.
  193. * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
  194. * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
  195. * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
  196. * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
  197. * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
  198. * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
  199. 2002-11-28 Sebastien Pouliot <[email protected]>
  200. * TODOAttribute.cs: New. Still much to do ;-)
  201. * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
  202. functionnal.
  203. * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
  204. functionnal.
  205. 2002-11-20 Sebastien Pouliot <[email protected]>
  206. * DataObject.cs: New. Complete implementation.
  207. * DSAKeyValue.cs: New. Complete implementation.
  208. * KeyInfo.cs: New. Complete implementation.
  209. * KeyInfoClause.cs: New. Abstract class (complete).
  210. * KeyInfoName.cs: New. Complete implementation.
  211. * KeyInfoNode.cs: New. Complete implementation.
  212. * KeyInfoRetrievalMethod.cs: New. Complete implementation.
  213. * KeyInfoX509Data.cs: New. Complete implementation.
  214. * Reference.cs: New. Incomplete implementation.
  215. * RSAKeyValue.cs: New. Complete implementation.
  216. * Signature.cs: New. Almost complete implementation - returned
  217. XML isn't exactly like the MS implementation.
  218. * SignedInfo.cs: New. Complete except SignatureLength.
  219. * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
  220. Still many TODO!
  221. * Transform.cs: New. Abstract class (complete).
  222. * TransformChain.cs: New. Complete implementation.
  223. * XmlDsigBase64Transform.cs: New. Stub + basic logic.
  224. * XmlDsigC14NTransform.cs: New. Stub + basic logic.
  225. * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
  226. * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
  227. * XmlDsigXPathTransform.cs: New. Stub + basic logic.
  228. * XmlDsigXsltTransform.cs: New. Stub + basic logic.