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