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