1 2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
3 * X501Name.cs: Fix build as the first build of 2.0's System.dll
4 may depend on a Mono.Security.dll without the new ToString overload.
6 2006-11-08 Sebastien Pouliot <sebastien@ximian.com>
8 * X501Name.cs: Refactor ToString method to allow most options available
10 * X509Certificate.cs: Add methods to retrieve the Issuer and Subject
11 Distinguished Names in binary (ASN.1) form. Reverse (actually correct)
12 the text representation of Issuer and Subject for 2.0.
14 2006-10-08 Sebastien Pouliot <sebastien@ximian.com>
16 * PKCS12.cs: A String.Empty is different from a null password. Fix bug
19 2006-09-05 Sebastien Pouliot <sebastien@ximian.com>
21 * X509Certificate.cs: Don't reset RSA or DSA property if the new value
22 is null (part of the fix for #79262).
24 2006-07-25 Sebastien Pouliot <sebastien@ximian.com>
26 * X509CRL.cs: Fix the case where no entry are present in the CRL (as
27 the structure is optional) *and* when there are no x.509 certificate
30 2006-01-24 Sebastien Pouliot <sebastien@ximian.com>
32 * PKCS12.cs: Consider String.Empty as a null password (e.g. don't
33 throw an IndexOutOfRangeException). Fix part of bug #77342.
35 2006-01-05 Sebastien Pouliot <sebastien@ximian.com>
37 * X509Extension.cs: Extension data may be encapsulated (i.e. ASN.1
38 data inside the octet string) if it comes from the X509Certificate
41 2006-01-04 Sebastien Pouliot <sebastien@ximian.com>
43 * X509Extension.cs: Added setter for Critical property (fix #77154).
44 Fixed asymmetry between encoding and decoding (fix #75781).
46 2005-12-16 Sebastien Pouliot <sebastien@ximian.com>
48 * X509Chain.cs: Fix chain building. Patch from Vincent Cote-Roy.
50 2005-11-18 Sebastien Pouliot <sebastien@ximian.com>
52 * X509Extension.cs: Changed default ctor to protected to help
53 extensibility outside of Mono.Security.dll (fix bug #76742).
55 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
57 * PKCS12.cs: It's now possible to add multiple keys of the same size
58 inside a pkcs12 file. Fix bug #76627.
60 2005-11-04 Sebastien Pouliot <sebastien@ximian.com>
62 * PKCS12.cs: Added MaximumPasswordLength property to allow decoding
63 the password with a length limits like MS PFXImportCertStore does.
64 In this case you just have to assign the value CryptoApiPasswordLimit
65 to the new static property.
67 2005-10-11 Sebastien Pouliot <sebastien@ximian.com>
69 * X509Certificate.cs: Fixed bug #76407. ValidFrom and ValidUntil are
70 local date/time so IsCurrent most also use a local date/time.
71 * X509CRL.cs: ValidFrom and ValidUntil are local date/time so
72 IsCurrent most also use a local date/time.
74 2005-10-06 Sebastien Pouliot <sebastien@ximian.com>
76 * X509Chain.cs: Fixed the case where no chain is present (self signed)
78 2005-09-09 Sebastien Pouliot <sebastien@ximian.com>
80 * X509Certificate.cs: Fixed version property (bug #76012). Added
81 ISerializable (for 2.0 so we're not breaking current compatibility).
83 2005-08-29 Sebastien Pouliot <sebastien@ximian.com>
85 * X501Name.cs: Fixed quoted (bug #75780) and escaped values. Added
86 parsing for "direct" OID values. Plugged DC and UID with new X520
88 * X520Attributes.cs: Added support for SerialNumber (fix bug #75783),
89 DomainComponent, UserId and Oid.
91 2005-08-12 Sebastien Pouliot <sebastien@ximian.com>
93 * X520Attributes.cs: Don't select PRINTABLESTRING for non 7bits
94 values. Fix bug #75782. Based on patch from Daniel Granath.
96 2005-06-29 Sebastien Pouliot <sebastien@ximian.com>
98 * X509CRL.cs: Fix the case where no entry are present in the CRL (as
99 the structure is optional).
101 2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
103 * X509Certificate.cs: DSA and RSA properties are now cached. In 2.0
104 they also have a set accessor.
105 * PKCS12.cs: Modified code to allow providing the password as a byte
106 array (the new constructor is available in 2.0).
108 2005-02-25 Sebastien Pouliot <sebastien@ximian.com>
110 * X501Name.cs: Added support for multiple entries in a same set.
112 2005-01-11 Sebastien Pouliot <sebastien@ximian.com>
114 * X509Certificate.cs: Fixed NullReferenceException when asking for
115 data that wasn't a proper X.509 certificate.
117 2004-12-13 Sebastien Pouliot <sebastien@ximian.com>
119 * X509Certificate.cs: Directly use the MD2 class when compiled in
120 Mono.Security.dll assembly (even if not configured in machine.config).
122 2004-09-17 Sebastien Pouliot <sebastien@ximian.com>
124 * PKCS12.cs: Fixed all level 4 compilation warnings.
125 * X501Name.cs: Fixed all level 4 compilation warnings.
126 * X509Certificate.cs: Fixed all level 4 compilation warnings.
127 * X509CertificateBuilder.cs: Fixed all level 4 compilation warnings.
128 * X509Extension.cs: In synch with corlib version. Fixed all level 4
129 compilation warnings.
130 * X520Attributes.cs: Updated to check upperbounds - which fixed level
131 4 compilation warnings.
133 2004-09-07 Sebastien Pouliot <sebastien@ximian.com>
135 * X509Chain.cs: Fixed a bug when constructing a certificate chain from
136 a collection (endless loop). Fixed bug when Reset-ing an empty chain.
138 2004-08-10 Sebastien Pouliot <sebastien@ximian.com>
140 * X509Store.cs: Now returns empty collection/list for certificates/
141 CRL when access to a store is denied.
143 2004-07-15 Sebastien Pouliot <sebastien@ximian.com>
145 * X501Name.cs: Support for E (email) in FromString.
146 * X520Attributes.cs: Added X520.EmailAddress.
147 Both patches fix bug #61241 and were contributed by Ianier Munoz.
149 2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
151 * X509Certificate.cs: Rethrow original exception when parsing X.509
152 certificates (inside a CryptographicException) so people can see if
153 their changes affects certificate decoding.
155 2004-05-12 Jesper Pedersen <jep@itplus.dk>
157 * PKCS12.cs: Removed file exists check from SaveToFile(). Removed
158 Equals() and GetHashCode(). Clone the original iteration count.
160 2004-05-06 Jesper Pedersen <jep@itplus.dk>
162 * PKCS12.cs: Fixed synchronization with X509CertificateCollection in
165 2004-05-05 Jesper Pedersen <jep@itplus.dk>
167 * PKCS12.cs: Added support for SafeBag attributes. Added support for
168 Clone() (ICloneable), Equals and GetHashCode. New methods:
169 - AddCertificate (X509Certificate cert)
170 - AddCertificate (X509Certificate cert, IDictionary attributes)
171 - RemoveCertificate (X509Certificate cert)
172 - RemoveCertificate (X509Certificate cert, IDictionary attributes)
173 - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
174 - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
175 - RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa)
176 - AddKeyBag (AsymmetricAlgorithm aa)
177 - AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes)
178 - RemoveKeyBag (AsymmetricAlgorithm aa)
179 - AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs)
180 - X509Certificate GetCertificate (IDictionary attrs)
181 - IDictionary GetAttributes (AsymmetricAlgorithm aa)
182 - IDictionary GetAttributes (X509Certificate cert)
184 2004-04-22 Sebastien Pouliot <sebastien@ximian.com>
186 * PKCS12.cs: FxCop-ized. CLS compliance.
187 * X501Name.cs: FxCop-ized.
188 * X509Builder.cs: FxCop-ized. Replaced Array.Copy with
190 * X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
191 * X509Certificate.cs: FxCop-ized. Replaced Array.Copy with
192 Buffer.BlockCopy. Removed unused private method GetHash.
193 * X509CertificateBuilder.cs: Ajusted with changes. Replaced
194 Array.Copy with Buffer.BlockCopy.
195 * X509CertificateCollection.cs: Added INSIDE_CORLIB as the class is
196 shared with corlib assembly.
197 * X509Chain.cs: FxCop-ized. Removed old ITrustAnchor support.
198 * X509ChainStatusFlags.cs: Added missing [Flags].
199 * X509Extension.cs: FxCop-ized. Added Equals, GetHashCode methods.
200 * X509Extensions.cs: FxCop-ized. Sealed class, renamed to
201 X509ExtensionCollection and inherit from CollectionBase. Added missing
203 * X509Store.cs: FxCop-ized.
204 * X509StoreManager.cs: FxCop-ized. Sealed class.
205 * X509Stores.cs: Added INSIDE_CORLIB as the class is shared with
207 * X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.
209 2004-04-02 Lluis Sanchez Gual <lluis@ximian.com>
211 * X509Chain.cs: Fixed build for net_1_0 profile.
213 2004-03-17 Jesper Pedersen <jep@itplus.dk>
215 * PKCS12.cs: Fixed sequence problem in Pkcs8ShroudedKeyBag. Fixed key
216 bag implementation in GetBytes. Moved key bag implementation in
217 GetBytes to fit OpenSSL. Added NULL digest in MAC (GetBytes) to fit
218 OpenSSL. Added SaveToFile method.
220 2004-03-10 Sebastien Pouliot <sebastien@ximian.com>
222 * PKCS12.cs: Completed GetBytes() so it is now possible to encode
223 / encrypt PKCS12 files.
225 2004-02-26 Sebastien Pouliot <sebastien@ximian.com>
227 * X509Store.cs: Changed not to use base64 in filenames as it can
228 conflict with path separators. Now use plain hex. Now catch
229 incorrectly encoded certificates / CRL in stores. Added Name property.
231 2004-02-24 Sebastien Pouliot <sebastien@ximian.com>
233 * X509Certificate.cs: Add support for the OID "1.3.14.3.2.29" (SHA1
234 with RSA). Added a fix for "really" null algorithm parameters.
235 * X509CertificateCollection.cs: Fixed Contains and IndexOf (worked
236 on objects but not for the same certificate in a different object).
238 2004-02-23 Sebastien Pouliot <sebastien@ximian.com>
240 * TestAnchors.cs: Removed - no need to be hardcoded anymore.
241 * X509Chain.cs: Updated to use the new store for trusted roots.
242 * X509CRL.cs: New. Certificate Revocation List v1/v2 support.
243 * X509Store.cs: New. Managed each individual store (with or
244 without CRL support).
245 * X509StoreManager.cs: New. Certificate Store Manager to access
246 user and machine stores and to merge them when required.
247 * X509Stores.cs: New. Certificate stores group for either the
248 current user or the local machine.
250 2004-02-20 Sebastien Pouliot <sebastien@ximian.com>
252 * X509Chain.cs: Added an option to use a pre-built chain (like TLS
253 offers) to save time rebuilding it. Added some validations and more
254 detailled status. Still a LOT to do!
255 * X509ChainStatusFlags.cs: New. Status code for the results of the
256 chain building and verification.
258 2003-12-15 Sebastien Pouliot <spouliot@videotron.ca>
260 * TrustAnchors.cs: Added a new trusted root, Thawte, for code signing.
262 2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
264 * PKCS12.cs: New. PKCS#12 implementation. Only decoding is working
267 2003-09-01 Sebastien Pouliot <spouliot@videotron.ca>
269 * ITrustAnchors.cs: New. Interface to trust anchors.
270 * TestAnchors.cs: New. Include 2 tests anchors: Microsoft Root Agency
271 (for Windows compatibility) and Mono Test Root.
272 * TrustAnchors.cs: New. Include some widely used (commercial) code
273 signing root certificates.
274 * X509CertificateCollection.cs: New. Collection for Mono's X509
276 * X509Chain.cs: New. MINIMAL certificate chaining engine to support
277 Authenticode(tm). VERY PARTIAL IMPLEMENTATION!!!
279 2003-03-15 Sebastien Pouliot <spouliot@videotron.ca>
281 * X501Name.cs: New. X.501 Distinguished Names stuff
282 * X509Builder.cs: New. Abstract class for building X.509 related
283 structures (like certificates and CRLs).
284 * X509Certificate.cs: New. A more complete class to handle X.509
286 * X509CertificateBuilder.cs: New. Class to build X.509 certificates.
287 * X509Extension.cs: New. A base class for all X.509 extensions.
288 * X509Extensions.cs: New. X509Extension collection.
289 * X520Attributes.cs: New. X.520 attributes (mainly for X501 names)