Age | Commit message (Collapse) | Author |
|
* 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
|
|
* X509Certificate.cs: Accept text before the PEM certificate itself.
[Fix bug #396486]
svn path=/trunk/mcs/; revision=104761
|
|
svn path=/trunk/mcs/; revision=77035
|
|
* X509Certificate.cs: Fix IsCurrent (use UTC).
svn path=/trunk/mcs/; revision=77006
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* X509Certificate.cs: Resurrect the (fixed) support for [Issuer|
Subject]UniqueIdentifier, including new properties.
svn path=/trunk/mcs/; revision=69083
|
|
* 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
|
|
* 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
|
|
* X509Certificate.cs: Added support for inherited DSA key parameters.
svn path=/trunk/mcs/; revision=68984
|
|
* 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
|
|
* X509Certificate.cs: Add support for PEM encoded (base64) x.509
certificates (supported in 2.0).
svn path=/trunk/mcs/; revision=67780
|
|
* 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
|
|
* 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
|
|
* PKCS12.cs: A String.Empty is different from a null password. Fix bug
#79617.
svn path=/trunk/mcs/; revision=66419
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* X509Extension.cs: Added setter for Critical property (fix #77154).
Fixed asymmetry between encoding and decoding (fix #75781).
svn path=/trunk/mcs/; revision=55062
|
|
* X509Chain.cs: Fix chain building. Patch from Vincent Cote-Roy.
svn path=/trunk/mcs/; revision=54541
|
|
* X509Extension.cs: Changed default ctor to protected to help
extensibility outside of Mono.Security.dll (fix bug #76742).
svn path=/trunk/mcs/; revision=53229
|
|
* 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
|
|
* 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
|
|
* X509CRL.cs: ValidFrom and ValidUntil are local date/time so
IsCurrent most also use a local date/time.
svn path=/trunk/mcs/; revision=51603
|
|
* 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
|
|
* X509Chain.cs: Fixed the case where no chain is present (self signed)
svn path=/trunk/mcs/; revision=51346
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* X509CRL.cs: Fix the case where no entry are present in the CRL (as
the structure is optional).
svn path=/trunk/mcs/; revision=46732
|
|
* 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
|
|
* X501Name.cs: Added support for multiple entries in a same set.
svn path=/trunk/mcs/; revision=41213
|
|
* X509Certificate.cs: Fixed NullReferenceException when asking for
data that wasn't a proper X.509 certificate.
svn path=/trunk/mcs/; revision=38692
|
|
* 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
|
|
* 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
|
|
* 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
|
|
* X509Store.cs: Now returns empty collection/list for certificates/
CRL when access to a store is denied.
svn path=/trunk/mcs/; revision=32150
|
|
* 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
|
|
* X501Name.cs: Support for E (email) in FromString.
svn path=/trunk/mcs/; revision=31193
|
|
* 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
|
|
* PKCS12.cs: Removed file exists check from SaveToFile(). Removed
Equals() and GetHashCode(). Clone the original iteration count.
svn path=/trunk/mcs/; revision=27166
|
|
* PKCS12.cs: Fixed synchronization with X509CertificateCollection in
GetBytes ().
svn path=/trunk/mcs/; revision=26867
|
|
* 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
|
|
* X509CRL.cs: FxCop-ized. Replaced Array.Copy with Buffer.BlockCopy.
* X520Attributes.cs: FxCop-ized. Added INSIDE_CORLIB.
svn path=/trunk/mcs/; revision=25864
|
|
* 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
|
|
svn path=/trunk/mcs/; revision=24931
|
|
* 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
|
|
* PKCS12.cs: Completed GetBytes() so it is now possible to encode
/ encrypt PKCS12 files.
svn path=/trunk/mcs/; revision=23873
|