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