ChangeLog 11 KB

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