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