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