1 2004-08-29 Tim Coleman <tim@timcoleman.com>
2 * EncryptedData.cs EncryptedXml.cs:
3 Add .NET 2.0 method stubs.
5 2004-07-20 Atsushi Enomoto <atsushi@ximian.com>
7 * Signature.cs : Fixed NextElementPos() that incorrectly examined
10 2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
12 * EncryptedXml.cs: Fixed Urls for XmlEncElementUrl and
13 XmlEncElementContentUrl.
14 * X509IssuerSerial.cs: Make constructor internal so it doesn't show up
15 in corcompare results for NET_2_0 profile.
17 2004-06-17 Sebastien Pouliot <sebastien@ximian.com>
19 * KeyInfoX509Data.cs: Removed old internal IssuerSerial for the
20 undocumented structure (now documented, and public, in Fx 2.0).
21 * X509IssuerSerial.cs: Use structure as public in NET_2_0 and as
24 2004-06-10 Gert Driesen <drieseng@users.sourceforge.net>
26 * SignedXml.cs: API signature fixes
28 2004-06-04 Atsushi Enomoto <atsushi@ximian.com>
30 * SignedXml.cs : Complete fix for bug #59545. Support #xpointer(id()).
31 Namespace fixup is required when signing prefixed xml.
33 2004-06-04 Atsushi Enomoto <atsushi@ximian.com>
35 * SignedXml.cs : Fix for bug #59545. Handle #xpointer(/) as document.
37 2004-05-31 Atsushi Enomoto <atsushi@ximian.com>
39 * SignedXml.cs : partial fix for bug #59165 that does not output
40 namespace that conflicts with element's namespace.
42 2004-05-13 Sebastien Pouliot <sebastien@ximian.com>
44 * SignedXml.cs: Update TODO informations.
46 2004-05-13 Atsushi Enomoto <atsushi@ximian.com>
48 * XmlDsigBase64Transform.cs :
49 LoadInput() should retrieve all the descendants.
50 GetOutput() should handle nodes without digging into child nodes.
52 2004-05-05 Atsushi Enomoto <atsushi@ximian.com>
55 Transform.cs : code cleanup. #if !NET_1_0 -> #if NET_1_1.
56 * XmlDsigBase64Transform.cs : Should not output the content of the
57 selected element nodes. Put text content only those text nodes are
59 * XmlDsigEnvelopedSignatureTransform.cs : removed MonoTODO.
60 * XmlDsigXsltTransform.cs : Use XmlResolver to load document and
61 to transform. Throw null reference exception explicitly when
62 the input was not loaded.
64 2004-04-02 Lluis Sanchez Gual <lluis@ximian.com>
66 * XmlDsigEnvelopedSignatureTransform.cs, XmlDsigXPathTransform.cs,
67 XmlDsigXsltTransform.cs: Fixed build for net_1_0 profile.
69 2004-03-30 Sebastien Pouliot <sebastien@ximian.com>
71 * Reference.cs: Changed code to use CryptoConfig to create transforms.
72 This is "the" way to do it (e.g. to allow new transforms to be added)
73 but cause problems when using VS.NET for debugging. Old code is still
74 present, but commented, for that cause.
76 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
78 * SignedXml.cs : namespace nodes also should be supplied for enveloped
80 * KeyInfoRetrievalMethod.cs : Keep input element as well as others.
82 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
84 * SignedXml.cs : XPath transformation output is not type of Stream.
85 Fix to support them by canonicalizing it.
87 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
89 * XmlDsigXsltTransform.cs : GetOutput() now just returns
90 transformation output.
92 2004-03-27 Atsushi Enomoto <atsushi@ximian.com>
94 * SignedXml.cs : Added xmlns support for Manifest.
96 2004-03-26 Sebastien Pouliot <sebastien@ximian.com>
98 * Manifest.cs: New. Support for <Manifest> in Xml Digital Signature.
99 This should help us to validate more tests from the Phaos suite.
100 Note: Microsoft doesn't support this and we only support it for
101 verification (not signature generation).
102 * SignedXml.cs: Added support for Manifest, including recursive
103 manifests. Made some changes to reuse existing code as much as
104 possible. Better support for local/remote files - but requires
105 catching an Uri exception for local files :-(.
106 * XmlSignature.cs: Added constants for Manifest element and URI.
108 2004-03-26 Atsushi Enomoto <atsushi@ximian.com>
111 - Use specified (or default) XmlResolver to get external resource,
112 instead of using WebRequest directly. Also modified it easier.
113 - ApplyTransform() : Clone only when it is required. Handle
114 transformation output other than Stream.
115 - Even if applicable key was not found in GetHash(), don't throw
116 crypto exception every time and just return false (MS does it).
117 Throw an exception only when no key was specified as KeyInfo.
118 * XmlDsigEnvelopedSignatureTransform.cs : Fixed get_OutputTypes which
119 incorrectly set InputTypes internally.
120 * XmlDsigXPathTransform.cs : Context namespace nodes in loaded
121 transform parameter (i.e. <XPath>..</XPath>) should be registered
122 to XsltContext. Otherwise prefix binding error occurs.
123 Just filter attribute node, instead of filtering attribute children.
125 2004-03-25 Sebastien Pouliot <sebastien@ximian.com>
127 * SignedXml.cs: Added try/catch in CheckSignatureWithKey to return
128 false on exceptions. Fix signature-rsa-detached-xslt-transform-bad
129 -retrieval-method.xml in the Phaos test suite.
131 2004-03-24 Atsushi Enomoto <atsushi@ximian.com>
133 * Reference.cs, Signature.cs : They should keep input element and hence
134 keep namespace context nodes on LoadXml() as same as SignedInfo.
135 * SignedXml.cs : Fixed SignedInfoTransformed() to fill context
136 namespace nodes into the input document (unlike other classes, there
137 seems no other way to keep ns-nodes here).
138 Now some of W3C phaos xmldsig test passes.
140 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
142 * SignedInfo.cs : It holds input element and directly returns it
143 unless the properties are not set.
144 Throw CryptographicException when Reference is empty *and* GetXml()
145 is *created*. (when just returning input element, no exception is
148 2004-03-23 Atsushi Enomoto <atsushi@ximian.com>
150 * DataObject.cs : It now holds element instead of each parameters.
151 Avoid loading element content to different document unless its
152 properties were modified (to keep namespace node context).
154 2004-03-20 Sebastien Pouliot <sebastien@ximian.com>
156 * SignedXml.cs: Removed unused (and commented) ComputeHash method.
158 2004-03-19 Atsushi Enomoto <atsushi@ximian.com>
160 * XmlDsigXPathTransform.cs : just found stupid bug.
162 2004-03-19 Sebastien Pouliot <sebastien@ximian.com>
164 * SignedXml.cs: Lot of small changes to complete TODOs and to match
167 2004-03-17 Sebastien Pouliot <sebastien@ximian.com>
169 * SignedXml.cs: The old method was working for creating signature -
170 so it was reintroduced for (only) this case.
172 2004-03-17 Atsushi Enomoto <atsushi@ximian.com>
174 * SignedXml.cs : the result from enveloped signature transform should
175 be canonicalized before getting its hash.
176 * XmlDsigEnvelopedSignatureTransform.cs : in XPath selection,
177 if the node is Signature itself it is not allowed.
178 PreserveWhitespace is required.
180 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
182 * SignedXml.cs: Changed (again). This time we use the Stream when
183 loading the document. We now pass 14 out of 15 of the Merlin's
184 tests (including one that MS fails). The only failing test is the
185 one that use the EnvelopedTransform (unfinished).
187 2004-03-16 Sebastien Pouliot <sebastien@ximian.com>
189 * SignedXml.cs: Commented my last changes to SignedXml as it made other
190 unis tests fail (in the c14n-izer).
192 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
194 * XmlDsigNodeList.cs : removed BOM from code file.
196 2004-03-16 Atsushi Enomoto <atsushi@ximian.com>
198 * XmlDsigNodeList.cs : added.
199 * XmlDsigXPathTransform.cs : removed XmlDsigNodeList class.
200 * XmlDsigEnvelopedSignatureTransform.cs :
201 Implemented GetOutput(). However, it is totally MS behavior
202 dependent and not based on the spec (we can reimplement it based on
203 improved XmlDsigXPathTransform).
204 * SignedXml.cs : in GetOutput(), accept XmlNodeList input too.
206 2004-03-15 Sebastien Pouliot <sebastien@ximian.com>
208 * SignedXml.cs: Now use the original Signature element before applying
209 the C14N transformation. Added a check for null in LoadXml.
211 2004-03-14 Atsushi Enomoto <atsushi@ximian.com>
213 * XmlDsigXPathTransform.cs : implemented GetOutput() (with some
214 internal XPath context classes).
216 2004-03-13 Atsushi Enomoto <atsushi@ximian.com>
218 * XmlDsigXsltTransform.cs : LoadInnerXml() should just load stylesheet
219 and LoadInput() should just load transformed document.
220 Transformation should be done in GetOutput() because either of the
221 stylesheet or input can be loaded in prior. Adjusted code format.
223 2004-03-12 Sebastien Pouliot <sebastien@ximian.com>
225 * Signature.cs: KeyInfo isn't required in schema.
226 * SignedInfo.cs: Added support for missing HMACOutputLength.
227 * SignedXml.cs: Added support to download a reference (experimental).
228 Now throw exception for unknown hash algorithm or canonicalization
229 methods. Changed GetPublicKey to iterate all available keys (not just
232 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
234 * KeyInfo.cs : Attribute Id was not handlded.
235 * KeyInfoX509Data.cs : all array members return null when there are
236 no such contents. Just find child elements, not descendants.
237 * SignedXml.cs : key is not always required when CheckSignature() is
239 * XmlDsigXsltTransform.cs : LoadInput should allow node list.
240 * XmlSignature.cs : added GetChildElements().
242 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
244 * KeyInfoX509Data.cs : trivial local var name fix.
246 2004-03-09 Atsushi Enomoto <atsushi@ximian.com>
248 * KeyInfoX509Data.cs,
251 XmlSignature.cs : GetElementsByTagName() should be eliminated or
252 at least should use namespace URI.
254 2004-03-04 Atsushi Enomoto <atsushi@ximian.com>
257 Fixed LoadXml() to skip text nodes as MS.NET does.
258 Uncommented out RSAKeyValue.
259 * Signature.cs : Fixed LoadXml(). Don't use GetElementsByTagName()
260 that incorrectly acquires descendants. Throw CryptographicException
261 if required elements were not found.
262 * Transform.cs : added internal GetResolver().
263 * XmlDsigXPathTransform.cs,
264 XmlDsigXsltTransform.cs : use XmlResolver.
266 2004-02-19 Tim Coleman <tim@timcoleman.com>
267 * SymmetricKeyWrap.cs:
270 Add calls to SymmetricKeyWrap
272 2004-02-11 Sebastien Pouliot <sebastien@ximian.com>
274 * Reference.cs: Added LoadInnerXml to transforms. Removed unused
276 * Transform.cs: Import GetInnerXml in GetXml.
277 * XmlDsigBase64Transform.cs: Now use a StreamWriter to avoid multiple
279 * XmlDsigC14NTransform.cs: Added Stream support to LoadInput
280 * XmlDsigXPathTransform.cs: Fixed GetInnerXml to include xpath
281 expression and LoadInput. It nows match MS implementation but doesn't
282 work like I think it should (but neither is MS implementation).
284 2004-02-10 Tim Coleman <tim@timcoleman.com>
285 * DataReference.cs EncryptedKey.cs EncryptedXml.cs
286 * KeyInfoEncryptedKey.cs KeyReference.cs ReferenceList.cs
287 * X509IssuerSerial.cs XmlDecryptionTransform.cs:
288 Add new classes for Xml Encryption in 1.2
289 * CipherData.cs CipherReference.cs EncryptedData.cs
290 * EncryptedReference.cs EncryptionMethod.cs EncryptionProperty.cs :
291 Change NamespaceURI reference to EncryptedXml class.
292 Make compliant with 1.2
294 Add new entity names.
297 2004-02-07 Tim Coleman <tim@timcoleman.com>
298 * CipherData.cs CipherReference.cs EncryptedData.cs
299 * EncryptedReference.cs EncryptedType.cs EncryptionMethod.cs
300 * EncryptionProperties.cs EncryptionProperty.cs XmlEncryption.cs:
301 New classes added for Xml Encryption in 1.2
302 * KeyInfoRetrievalMethod.cs:
303 Added Type attribute for 1.2
305 Added string constants for algorithm namespaces
307 2004-01-11 Sebastien Pouliot <spouliot@videotron.ca>
309 * SignedXml.cs: Fixed class signature (for 1.1+) by adding public to
311 * Transform.cs: Fixed class signature (for 1.1+) by adding public to
314 2003-12-14 Sebastien Pouliot <spouliot@videotron.ca>
316 * SignedXml.cs: Now load the public key when verifying (bug #52084)
317 and can find an element by it's Id when Id isn't defined in DTD or XSD.
319 2003-07-27 Sebastien Pouliot <spouliot@videotron.ca>
321 * XmlSignature.cs: Changed USE_VERSION_1_0 for NET_1_0.
323 2003-07-24 Sebastien Pouliot <spouliot@videotron.ca>
325 * XmlDsigC14NTransform.cs: Patch to use Mono.Xml.XmlCanonicalizer
328 2003-06-19 Nick Drochak <ndrochak@gol.com>
331 * RSAKeyValue.cs: Work around for mcs? bug 45127.
333 2003-06-11 Sebastien Pouliot <spouliot@motus.com>
335 * SignedXml.cs: Changed USE_VERSION_1_0 for NET_1_0.
336 * Transform.cs: Changed USE_VERSION_1_0 for NET_1_0.
338 2003-05-25 Sebastien Pouliot <spouliot@videotron.ca>
340 * XmlSignature.cs: Changed string "RetrievalElement" to "RetrievalMethod"
341 to match framework 1.1 (this was a bug in framework 1.0).
343 2003-05-10 Sebastien Pouliot <spouliot@videotron.ca>
345 * SignedXml.cs: Added property XmlResolver Resolver as per framework 1.1
346 documentation (no public declaration).
347 * Transform.cs: Added property XmlResolver Resolver as per framework 1.1
348 documentation (no public declaration).
350 2003-03-03 Sebastien Pouliot <spouliot@videotron.ca>
352 * DSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
354 * RSAKeyValue.cs: Added patch from Atsushi Eno (to remove string
356 * XmlDsigBase64Transform.cs: Fixed problem when using XPath.
358 2003-03-02 Sebastien Pouliot <spouliot@videotron.ca>
360 * DSAKeyValue.cs: New XML generation is commented. Old string technique
361 did a better job to match MS implementation.
362 * DataObject.cs: Replaced XML generation from StringBuilder to XmlElement.
363 * KeyInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
364 * KeyInfoName.cs: Replaced XML generation from StringBuilder to XmlElement.
365 * KeyInfoNode.cs: Replaced XML generation from StringBuilder to XmlElement.
366 * KeyInfoRetrievalMethod.cs: Replaced XML generation from StringBuilder to XmlElement.
367 * KeyInfoX509Data.cs: Replaced XML generation from StringBuilder to XmlElement.
368 * RSAKeyValue.cs: New XML generation is commented. Old string technique
369 did a better job to match MS implementation.
370 * Reference.cs: Replaced XML generation from StringBuilder to XmlElement.
371 * Signature.cs: Replaced XML generation from StringBuilder to XmlElement.
372 * SignedInfo.cs: Replaced XML generation from StringBuilder to XmlElement.
373 * SignedXml.cs: Replaced XML generation from StringBuilder to XmlElement.
374 * Transform.cs: Replaced XML generation from StringBuilder to XmlElement.
375 * XmlDsigEnvelopedSignatureTransform.cs: Added missing Algorithm URL.
376 * XmlDsigXPathTransform.cs: Added missing Algorithm URL.
377 * XmlSignature.cs: New. Private contants (construct similar to WSE).
379 2003-02-19 Sebastien Pouliot <spouliot@videotron.ca>
381 * All: Corrected class indentation, minor fixes, added many MonoTODO (so class status
382 will reflect reality).
384 2003-01-17 Sebastien Pouliot <spouliot@videotron.ca>
386 * KeyInfo.cs: Changed some protected declaration to private.
387 * KeyInfoName.cs: Changed some protected declaration to private.
388 * KeyInfoNode.cs: Changed some protected declaration to private.
389 * KeyInfoRetrievalMethod.cs: Changed some protected declaration to private.
390 * KeyInfoX509Data.cs: Changed some protected declaration to private.
391 * Transform.cs: Changed some protected declaration to private.
392 * XmlDsigBase64Transform.cs: Changed some protected declaration to private.
393 * XmlDsigC14NTransform.cs: Changed some protected declaration to private.
394 * XmlDsigC14NWithCommentsTransform.cs: Changed some protected declaration to private.
395 * XmlDsigEnvelopedSignatureTransform.cs: Changed some protected declaration to private.
396 * XmlDsigXPathTransform.cs: Changed some protected declaration to private.
397 * XmlDsigXsltTransform.cs: Changed some protected declaration to private.
399 2002-11-28 Sebastien Pouliot <spouliot@videotron.ca>
401 * TODOAttribute.cs: New. Still much to do ;-)
402 * XmlDsigXPathTransform.cs: Corrected to compile. Transform is non-
404 * XmlDsigXsltTransform.cs: Corrected to compile. Transform is non-
407 2002-11-20 Sebastien Pouliot <spouliot@videotron.ca>
409 * DataObject.cs: New. Complete implementation.
410 * DSAKeyValue.cs: New. Complete implementation.
411 * KeyInfo.cs: New. Complete implementation.
412 * KeyInfoClause.cs: New. Abstract class (complete).
413 * KeyInfoName.cs: New. Complete implementation.
414 * KeyInfoNode.cs: New. Complete implementation.
415 * KeyInfoRetrievalMethod.cs: New. Complete implementation.
416 * KeyInfoX509Data.cs: New. Complete implementation.
417 * Reference.cs: New. Incomplete implementation.
418 * RSAKeyValue.cs: New. Complete implementation.
419 * Signature.cs: New. Almost complete implementation - returned
420 XML isn't exactly like the MS implementation.
421 * SignedInfo.cs: New. Complete except SignatureLength.
422 * SignedXml.cs: New. Minimal implementation (only enveloped signatures).
424 * Transform.cs: New. Abstract class (complete).
425 * TransformChain.cs: New. Complete implementation.
426 * XmlDsigBase64Transform.cs: New. Stub + basic logic.
427 * XmlDsigC14NTransform.cs: New. Stub + basic logic.
428 * XmlDsigC14NWithCommentsTransform.cs: New. Stub + basic logic.
429 * XmlDsigEnvelopedSignatureTransform.cs: New. Stub + basic logic.
430 * XmlDsigXPathTransform.cs: New. Stub + basic logic.
431 * XmlDsigXsltTransform.cs: New. Stub + basic logic.