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