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