Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-09-122008-09-12 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs, X509Store.cs: Use File.Create instead of OpenWrite to make sure nothing else if left at the end of the file. Issue reported by Christophe Chevalier. svn path=/trunk/mcs/; revision=112871
2008-06-032008-06-03 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Accept text before the PEM certificate itself. [Fix bug #396486] svn path=/trunk/mcs/; revision=104761
2007-05-09 * PKCS12.cs: Adds SecretBag support. Patch by Jay Miller.Sebastien Pouliot
svn path=/trunk/mcs/; revision=77035
2007-05-092007-05-09 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Fix IsCurrent (use UTC). svn path=/trunk/mcs/; revision=77006
2006-12-152006-12-14 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Added support for (some cases of) T.61 strings, like the latin-1 encoded accentued characters founds in some DN. Fix bug #77295. svn path=/trunk/mcs/; revision=69516
2006-12-112006-12-11 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: Fix DSA certificates (with parameters) and don't throw an exception in the case where parameters aren't part of the certificate. This fix makes all 405 PKCS#12 test cases from PKITS works using Mono :). svn path=/trunk/mcs/; revision=69362
2006-12-062006-12-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Add decoding of RFC3280 mandatory and optional attributes types for dnQualifier, title, surname, givenName and initial. * X520Attributes.cs: Add encoding of RFC3280 mandatory and optional attributes types for dnQualifier, title, surname, givenName and initial. svn path=/trunk/mcs/; revision=69098
2006-12-062006-12-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Resurrect the (fixed) support for [Issuer| Subject]UniqueIdentifier, including new properties. svn path=/trunk/mcs/; revision=69083
2006-12-052006-12-05 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* X509CRL.cs: Fix DSA signature verification when numbers aren't exactly 20 bytes long (e.g. too short or negative with an extra 0x00). svn path=/trunk/mcs/; revision=69042
2006-12-052006-12-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509CRL.cs: Expose the Hash and RawData properties to make it easier to support CRL into stores. * X509Store.cs: Add support to Import and Remove CRL from stores. Refactor the code to get unique identificators. * X509Stores.cs: Change default, for Open, to stores that supports CRLs. svn path=/trunk/mcs/; revision=69035
2006-12-042006-12-04 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Added support for inherited DSA key parameters. svn path=/trunk/mcs/; revision=68984
2006-11-222006-11-22 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Store.cs: Add new Open method to access any certificate store by any names (required to support 2.0 features). svn path=/trunk/mcs/; revision=68346
2006-11-132006-11-13 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Add support for PEM encoded (base64) x.509 certificates (supported in 2.0). svn path=/trunk/mcs/; revision=67780
2006-11-082006-11-08 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* X501Name.cs: Fix build as the first build of 2.0's System.dll may depend on a Mono.Security.dll without the new ToString overload. svn path=/trunk/mcs/; revision=67541
2006-11-082006-11-08 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Refactor ToString method to allow most options available when using fx 2.0. * X509Certificate.cs: Add methods to retrieve the Issuer and Subject Distinguished Names in binary (ASN.1) form. Reverse (actually correct) the text representation of Issuer and Subject for 2.0. svn path=/trunk/mcs/; revision=67531
2006-10-082006-10-08 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: A String.Empty is different from a null password. Fix bug #79617. svn path=/trunk/mcs/; revision=66419
2006-09-052006-09-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Don't reset RSA or DSA property if the new value is null (part of the fix for #79262). svn path=/trunk/mcs/; revision=64942
2006-07-252006-07-25 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509CRL.cs: Fix the case where no entry are present in the CRL (as the structure is optional) *and* when there are no x.509 certificate extensions. svn path=/trunk/mcs/; revision=62963
2006-01-252006-01-24 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: Consider String.Empty as a null password (e.g. don't throw an IndexOutOfRangeException). Fix part of bug #77342. svn path=/trunk/mcs/; revision=56021
2006-01-052006-01-05 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Extension.cs: Extension data may be encapsulated (i.e. ASN.1 data inside the octet string) if it comes from the X509Certificate parser. svn path=/trunk/mcs/; revision=55105
2006-01-042006-01-04 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Extension.cs: Added setter for Critical property (fix #77154). Fixed asymmetry between encoding and decoding (fix #75781). svn path=/trunk/mcs/; revision=55062
2005-12-162005-12-16 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* X509Chain.cs: Fix chain building. Patch from Vincent Cote-Roy. svn path=/trunk/mcs/; revision=54541
2005-11-182005-11-18 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* X509Extension.cs: Changed default ctor to protected to help extensibility outside of Mono.Security.dll (fix bug #76742). svn path=/trunk/mcs/; revision=53229
2005-11-052005-11-04 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* PKCS12.cs: It's now possible to add multiple keys of the same size inside a pkcs12 file. Fix bug #76627. svn path=/trunk/mcs/; revision=52595
2005-11-042005-11-04 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: Added MaximumPasswordLength property to allow decoding the password with a length limits like MS PFXImportCertStore does. In this case you just have to assign the value CryptoApiPasswordLimit to the new static property. svn path=/trunk/mcs/; revision=52592
2005-10-112005-10-11 Sebastien Pouliot <sebastien@ximian.com> Sebastien Pouliot
* X509CRL.cs: ValidFrom and ValidUntil are local date/time so IsCurrent most also use a local date/time. svn path=/trunk/mcs/; revision=51603
2005-10-112005-10-11 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Fixed bug #76407. ValidFrom and ValidUntil are local date/time so IsCurrent most also use a local date/time. svn path=/trunk/mcs/; revision=51599
2005-10-062005-10-06 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Chain.cs: Fixed the case where no chain is present (self signed) svn path=/trunk/mcs/; revision=51346
2005-09-092005-09-09 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Fixed version property (bug #76012). Added ISerializable (for 2.0 so we're not breaking current compatibility). svn path=/trunk/mcs/; revision=49808
2005-08-302005-08-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Fixed quoted (bug #75780) and escaped values. Added parsing for "direct" OID values. Plugged DC and UID with new X520 classes. * X520Attributes.cs: Added support for SerialNumber (fix bug #75783), DomainComponent, UserId and Oid. svn path=/trunk/mcs/; revision=49092
2005-08-122005-08-12 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X520Attributes.cs: Don't select PRINTABLESTRING for non 7bits values. Fix bug #75782. Based on patch from Daniel Granath. svn path=/trunk/mcs/; revision=48326
2005-06-302005-06-29 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509CRL.cs: Fix the case where no entry are present in the CRL (as the structure is optional). svn path=/trunk/mcs/; revision=46732
2005-04-262005-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: DSA and RSA properties are now cached. In 2.0 they also have a set accessor. * PKCS12.cs: Modified code to allow providing the password as a byte array (the new constructor is available in 2.0). svn path=/trunk/mcs/; revision=43613
2005-02-252005-02-25 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Added support for multiple entries in a same set. svn path=/trunk/mcs/; revision=41213
2005-01-112005-01-11 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Fixed NullReferenceException when asking for data that wasn't a proper X.509 certificate. svn path=/trunk/mcs/; revision=38692
2004-12-142004-12-13 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Directly use the MD2 class when compiled in Mono.Security.dll assembly (even if not configured in machine.config). svn path=/trunk/mcs/; revision=37708
2004-09-172004-09-17 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: Fixed all level 4 compilation warnings. * X501Name.cs: Fixed all level 4 compilation warnings. * X509Certificate.cs: Fixed all level 4 compilation warnings. * X509CertificateBuilder.cs: Fixed all level 4 compilation warnings. * X509Extension.cs: In synch with corlib version. Fixed all level 4 compilation warnings. * X520Attributes.cs: Updated to check upperbounds - which fixed level 4 compilation warnings. svn path=/trunk/mcs/; revision=34009
2004-09-072004-09-07 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Chain.cs: Fixed a bug when constructing a certificate chain from a collection (endless loop). Fixed bug when Reset-ing an empty chain. svn path=/trunk/mcs/; revision=33493
2004-08-102004-08-10 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Store.cs: Now returns empty collection/list for certificates/ CRL when access to a store is denied. svn path=/trunk/mcs/; revision=32150
2004-07-152004-07-15 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Support for E (email) in FromString. * X520Attributes.cs: Added X520.EmailAddress. Both patches fix bug #61241 and were contributed by Ianier Munoz. svn path=/trunk/mcs/; revision=31194
2004-07-152004-07-15 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X501Name.cs: Support for E (email) in FromString. svn path=/trunk/mcs/; revision=31193
2004-05-282004-05-27 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509Certificate.cs: Rethrow original exception when parsing X.509 certificates (inside a CryptographicException) so people can see if their changes affects certificate decoding. svn path=/trunk/mcs/; revision=28319
2004-05-122004-05-12 Jesper Pedersen <jep@itplus.dk>Sebastien Pouliot
* PKCS12.cs: Removed file exists check from SaveToFile(). Removed Equals() and GetHashCode(). Clone the original iteration count. svn path=/trunk/mcs/; revision=27166
2004-05-072004-05-06 Jesper Pedersen <jep@itplus.dk>Sebastien Pouliot
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in GetBytes (). svn path=/trunk/mcs/; revision=26867
2004-05-052004-05-05 Jesper Pedersen <jep@itplus.dk>Sebastien Pouliot
* PKCS12.cs: Added support for SafeBag attributes. Added support for Clone() (ICloneable), Equals and GetHashCode. New methods: - AddCertificate (X509Certificate cert) - AddCertificate (X509Certificate cert, IDictionary attributes) - RemoveCertificate (X509Certificate cert) - RemoveCertificate (X509Certificate cert, IDictionary attributes) - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa) - AddPkcs8ShroudedKeyBag (AsymmetricAlgorithm aa, IDictionary attributes) - RemovePkcs8ShroudedKeyBag (AsymmetricAlgorithm aa) - AddKeyBag (AsymmetricAlgorithm aa) - AddKeyBag (AsymmetricAlgorithm aa, IDictionary attributes) - RemoveKeyBag (AsymmetricAlgorithm aa) - AsymmetricAlgorithm GetAsymmetricAlgorithm (IDictionary attrs) - X509Certificate GetCertificate (IDictionary attrs) - IDictionary GetAttributes (AsymmetricAlgorithm aa) - IDictionary GetAttributes (X509Certificate cert) svn path=/trunk/mcs/; revision=26756
2004-04-232004-04-22 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy. * X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB. svn path=/trunk/mcs/; revision=25864
2004-04-222004-04-22 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: FxCop-ized. CLS compliance. * X501Name.cs: FxCop-ized. * X509Builder.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy. * X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy. * X509Certificate.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy. Removed unused private method GetHash. * X509CertificateBuilder.cs: Ajusted with changes. Replaced Array.Copy with Buffer.BlockCopy. * X509CertificateCollection.cs: Added INSIDE_CORLIB as the class is shared with corlib assembly. * X509Chain.cs: FxCop-ized. Removed old ITrustAnchor support. * X509ChainStatusFlags.cs: Added missing [Flags]. * X509Extension.cs: FxCop-ized. Added Equals, GetHashCode methods. * X509Extensions.cs: FxCop-ized. Sealed class, renamed to X509ExtensionCollection and inherit from CollectionBase. Added missing methods. * X509Store.cs: FxCop-ized. * X509StoreManager.cs: FxCop-ized. Sealed class. * X509Stores.cs: Added INSIDE_CORLIB as the class is shared with corlib assembly. svn path=/trunk/mcs/; revision=25861
2004-04-02* X509Chain.cs: Fixed build for net_1_0 profile.Lluis Sanchez
svn path=/trunk/mcs/; revision=24931
2004-03-172004-03-17 Jesper Pedersen <jep@itplus.dk>Sebastien Pouliot
* PKCS12.cs: Fixed sequence problem in Pkcs8ShroudedKeyBag. Fixed key bag implementation in GetBytes. Moved key bag implementation in GetBytes to fit OpenSSL. Added NULL digest in MAC (GetBytes) to fit OpenSSL. Added SaveToFile method. svn path=/trunk/mcs/; revision=24224
2004-03-102004-03-10 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* PKCS12.cs: Completed GetBytes() so it is now possible to encode / encrypt PKCS12 files. svn path=/trunk/mcs/; revision=23873