1 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
3 * Reference.cs, Signature.cs : They should keep input element and hence
4 keep namespace context nodes on LoadXml() as same as SignedInfo.
5 * SignedXml.cs : Fixed SignedInfoTransformed() to fill context
6 namespace nodes into the input document (unlike other classes, there
7 seems no other way to keep ns-nodes here).
8 Now some of W3C phaos xmldsig test passes.
10 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
12 * SignedInfo.cs : It holds input element and directly returns it
13 unless the properties are not set.
14 Throw CryptographicException when Reference is empty *and* GetXml()
15 is *created*. (when just returning input element, no exception is
18 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
20 * DataObject.cs : It now holds element instead of each parameters.
21 Avoid loading element content to different document unless its
22 properties were modified (to keep namespace node context).
24 2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
26 * SignedXml.cs: Removed unused (and commented) ComputeHash method.
28 2004-03-19 Atsushi Enomoto <atsushi@ximian.com>
30 * XmlDsigXPathTransform.cs : just found stupid bug.
32 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
34 * SignedXml.cs: Lot of small changes to complete TODOs and to match
37 2004-03-17 Sebastien Pouliot <sebastien@ximian.com>
39 * SignedXml.cs: The old method was working for creating signature -
40 so it was reintroduced for (only) this case.
42 2004-03-17 Atsushi Enomoto <atsushi@ximian.com>
44 * SignedXml.cs : the result from enveloped signature transform should
45 be canonicalized before getting its hash.
46 * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
47 if the node is Signature itself it is not allowed.
48 PreserveWhitespace is required.
50 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
52 * SignedXml.cs: Changed (again). This time we use the Stream when
53 loading the document. We now pass 14 out of 15 of the Merlin's
54 tests (including one that MS fails). The only failing test is the
55 one that use the EnvelopedTransform (unfinished).
57 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
59 * SignedXml.cs: Commented my last changes to SignedXml as it made other
60 unis tests fail (in the c14n-izer).
62 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
64 * XmlDsigNodeList.cs : removed BOM from code file.
66 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
68 * XmlDsigNodeList.cs : added.
69 * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
70 * XmlDsigEnvelopedSignatureTransform.cs :
71 Implemented GetOutput(). However, it is totally MS behavior
72 dependent and not based on the spec (we can reimplement it based on
73 improved XmlDsigXPathTransform).
74 * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
76 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
78 * SignedXml.cs: Now use the original Signature element before applying
79 the C14N transformation. Added a check for null in LoadXml.
81 2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
83 * XmlDsigXPathTransform.cs : implemented GetOutput() (with some
84 internal XPath context classes).
86 2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
88 * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
89 and LoadInput() should just load transformed document.
90 Transformation should be done in GetOutput() because either of the
91 stylesheet or input can be loaded in prior. Adjusted code format.
93 2004-03-12 Sebastien Pouliot <sebastien@ximian.com>
95 * Signature.cs: KeyInfo isn't required in schema.
96 * SignedInfo.cs: Added support for missing HMACOutputLength.
97 * SignedXml.cs: Added support to download a reference (experimental).
98 Now throw exception for unknown hash algorithm or canonicalization
99 methods. Changed GetPublicKey to iterate all available keys (not just
102 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
104 * KeyInfo.cs : Attribute Id was not handlded.
105 * KeyInfoX509Data.cs : all array members return null when there are
106 no such contents. Just find child elements, not descendants.
107 * SignedXml.cs : key is not always required when CheckSignature() is
109 * XmlDsigXsltTransform.cs : LoadInput should allow node list.
110 * XmlSignature.cs : added GetChildElements().
112 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
114 * KeyInfoX509Data.cs : trivial local var name fix.
116 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
118 * KeyInfoX509Data.cs,
121 XmlSignature.cs : GetElementsByTagName() should be eliminated or
122 at least should use namespace URI.
124 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
127 Fixed LoadXml() to skip text nodes as MS.NET does.
128 Uncommented out RSAKeyValue.
129 * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
130 that incorrectly acquires descendants. Throw CryptographicException
131 if required elements were not found.
132 * Transform.cs : added internal GetResolver().
133 * XmlDsigXPathTransform.cs,
134 XmlDsigXsltTransform.cs : use XmlResolver.
136 2004-02-19 Tim Coleman <tim@timcoleman.com>
137 * SymmetricKeyWrap.cs:
140 Add calls to SymmetricKeyWrap
142 2004-02-11 Sebastien Pouliot <sebastien@ximian.com>
144 * Reference.cs: Added LoadInnerXml to transforms. Removed unused
146 * Transform.cs: Import GetInnerXml in GetXml.
147 * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
149 * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
150 * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
151 expression and LoadInput. It nows match MS implementation but doesn't
152 work like I think it should (but neither is MS implementation).
154 2004-02-10 Tim Coleman <tim@timcoleman.com>
155 * DataReference.cs EncryptedKey.cs EncryptedXml.cs
156 * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
157 * X509IssuerSerial.cs XmlDecryptionTransform.cs:
158 Add new classes for Xml Encryption in 1.2
159 * CipherData.cs CipherReference.cs EncryptedData.cs
160 * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
161 Change NamespaceURI reference to EncryptedXml class.
162 Make compliant with 1.2
164 Add new entity names.
167 2004-02-07 Tim Coleman <tim@timcoleman.com>
168 * CipherData.cs CipherReference.cs EncryptedData.cs
169 * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
170 * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
171 New classes added for Xml Encryption in 1.2
172 * KeyInfoRetrievalMethod.cs:
173 Added Type attribute for 1.2
175 Added string constants for algorithm namespaces
177 2004-01-11 Sebastien Pouliot <spouliot@videotron.ca>
179 * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
181 * Transform.cs: Fixed class signature (for 1.1+) by adding public to
184 2003-12-14 Sebastien Pouliot <spouliot@videotron.ca>
186 * SignedXml.cs: Now load the public key when verifying (bug #52084)
187 and can find an element by it's Id when Id isn't defined in DTD or XSD.
189 2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
191 * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
193 2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
195 * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
198 2003-06-19 Nick Drochak <ndrochak@gol.com>
201 * RSAKeyValue.cs: Work around for mcs? bug 45127.
203 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
205 * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
206 * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
208 2003-05-25 Sebastien Pouliot <spouliot@videotron.ca>
210 * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
211 to match framework 1.1 (this was a bug in framework 1.0).
213 2003-05-10 Sebastien Pouliot <spouliot@videotron.ca>
215 * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
216 documentation (no public declaration).
217 * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
218 documentation (no public declaration).
220 2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
222 * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
224 * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
226 * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
228 2003-03-02 Sebastien Pouliot <spouliot@videotron.ca>
230 * DSAKeyValue.cs: New XML generation is commented. Old string technique
231 did a better job to match MS implementation.
232 * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
233 * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
234 * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
235 * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
236 * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
237 * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
238 * RSAKeyValue.cs: New XML generation is commented. Old string technique
239 did a better job to match MS implementation.
240 * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
241 * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
242 * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
243 * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
244 * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
245 * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
246 * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
247 * XmlSignature.cs: New. Private contants (construct similar to WSE).
249 2003-02-19 Sebastien Pouliot <spouliot@videotron.ca>
251 * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
252 will reflect reality).
254 2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
256 * KeyInfo.cs: Changed some protected declaration to private.
257 * KeyInfoName.cs: Changed some protected declaration to private.
258 * KeyInfoNode.cs: Changed some protected declaration to private.
259 * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
260 * KeyInfoX509Data.cs: Changed some protected declaration to private.
261 * Transform.cs: Changed some protected declaration to private.
262 * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
263 * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
264 * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
265 * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
266 * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
267 * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
269 2002-11-28 Sebastien Pouliot <spouliot@videotron.ca>
271 * TODOAttribute.cs: New. Still much to do ;-)
272 * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
274 * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
277 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
279 * DataObject.cs: New. Complete implementation.
280 * DSAKeyValue.cs: New. Complete implementation.
281 * KeyInfo.cs: New. Complete implementation.
282 * KeyInfoClause.cs: New. Abstract class (complete).
283 * KeyInfoName.cs: New. Complete implementation.
284 * KeyInfoNode.cs: New. Complete implementation.
285 * KeyInfoRetrievalMethod.cs: New. Complete implementation.
286 * KeyInfoX509Data.cs: New. Complete implementation.
287 * Reference.cs: New. Incomplete implementation.
288 * RSAKeyValue.cs: New. Complete implementation.
289 * Signature.cs: New. Almost complete implementation - returned
290 XML isn't exactly like the MS implementation.
291 * SignedInfo.cs: New. Complete except SignatureLength.
292 * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
294 * Transform.cs: New. Abstract class (complete).
295 * TransformChain.cs: New. Complete implementation.
296 * XmlDsigBase64Transform.cs: New. Stub + basic logic.
297 * XmlDsigC14NTransform.cs: New. Stub + basic logic.
298 * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
299 * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
300 * XmlDsigXPathTransform.cs: New. Stub + basic logic.
301 * XmlDsigXsltTransform.cs: New. Stub + basic logic.