Age | Commit message (Collapse) | Author |
|
* X509Chain.cs: revert my last change here since it caused 2 tests to
fail.
svn path=/trunk/mcs/; revision=137694
|
|
* X509Certificate2.cs:
* X509Chain.cs: changes to make everything compile with latest changes
and fixed typo in IsChainComplete().
svn path=/trunk/mcs/; revision=137259
|
|
svn path=/trunk/mcs/; revision=111796
|
|
* X509Certificate2.cs: Allow password-less ctor to (try to) open
PKCS#12 files (with an empty password).
[Fix bug #403610]
svn path=/trunk/mcs/; revision=106632
|
|
* X509Certificate2.cs: Allow PrivateKey property to be set to null.
[Fix bug #396620]
svn path=/trunk/mcs/; revision=104752
|
|
* X509Chain.cs: Use String.IsNullOrEmpty inside 2.0 code.
[Found using Gendarme]
svn path=/trunk/mcs/; revision=103416
|
|
* X509Chain.cs: Fixed line endings.
svn path=/trunk/mcs/; revision=100202
|
|
* X509Certificate2Test.cs: Added asserts to ensure NotAfter and
NotBefore are in local time.
* X509ChainPolicyTest.cs: Added assert to ensure VerificationTime is
in local time.
svn path=/trunk/mcs/; revision=92793
|
|
svn path=/trunk/mcs/; revision=89678
|
|
svn path=/trunk/mcs/; revision=78503
|
|
* X509Certificate2.cs: Leave a small stub (PrivateKey property) if
SECURITY_DEP isn't defined. This will let Mono.Security.dll build
correctly under 2.0 while enabling the use of X509Certificate2 to add
support for X.509 client certificates in SSL/TLS.
svn path=/trunk/mcs/; revision=77028
|
|
* X500DistinguishedName.cs: Add an internal method to compare
(canonized) DN so the class can be used in X509Chain.
* X509Certificate2.cs: Expose the internal certificate (from Mono.
Security.dll) as X509Certificate2 isn't complete enough to implement
chaining.
* X509Chain.cs: A (working) *subset( of RFC3280 path building and
validation.
* X509ChainElementCollection.cs: Add help method Contains and change
Add not to require a flag parameter.
* X509ChainElement.cs: Keeps flags compressed (as flags!) and add
a method to uncompress them when validation is complete.
* X509Store.cs: Expose the internal store (from Mono.Security.dll) as
internal. Map Trust and Root as the same store (for compatibility).
svn path=/trunk/mcs/; revision=69204
|
|
* X509Certificate2.cs: Modified Verify to use CryptoConfig to create
the X509Chain used to verify the certificate. This makes it possible
to change the default chaining (certificate path creation and
validation) algorithm.
* X509Chain.cs: Started implementation based on the options and error
codes defined. Work in progress (incomplete and needs a lot more test
cases).
* X509ChainElementCollection.cs: Added internal methods to Add and
Clear the collection.
* X509ChainElement.cs: Implemented, MonoTODO removed.
* X509ChainPolicy.cs: Add missing checks on enum-based properties.
Renamed fields to match guidelines.
* X509ChainStatus.cs: Provide a default StatusInformation value based
on the Status.
svn path=/trunk/mcs/; revision=68441
|
|
* X509Certificate2Collection.cs: Remove comment that proved to be
false (unit tests prove otherwise).
* X509Store.cs: Integrate the new 2.0 stores with the existing stores
that Mono used since 1.0.
svn path=/trunk/mcs/; revision=68347
|
|
* X509Certificate2Collection.cs: Implement Export (to DER encoded
format), Find (for most X509FindType), Import (for single
certificates), RemoveRange (but it's not transactional).
* X509Certificate2.cs: Fix Reset method to reset every field.
* X509ExtensionCollection.cs: Implement missing CopyTo. Fix exception
handling to match new unit tests.
* X509ExtensionEnumerator.cs: Fix recursion.
* X509SubjectKeyIdentifierExtension.cs: Add support for ctors
accepting a PublicKey instance.
svn path=/trunk/mcs/; revision=68096
|
|
* X509Certificate2.cs: Throw a CryptographicException for (most)
properties if the certificate is "empty". Implement GetNameInfo for
X509NameType.SimpleName, EmailName and DnsName. Add detection for
X509ContentType.Pkcs7 in GetCertContentType.
svn path=/trunk/mcs/; revision=67778
|
|
* X500DistinguishedName.cs: Fix most common cases. Some flags are
still not supported.
* X509Certificate2.cs: Fix importing PKCS#12 certificates (with keys)
in some cases. Implement GetCertContentType for Cert, Pfx and Pkcs12.
Implement ToString methods.
* X509ExtensionCollection.cs: Add an internal ctor that can populate
the collection from extensions coming from an Mono.Security.X509.
X509Certificate. CryptoConfig is used to allow extensibility to the
X509Extension class.
svn path=/trunk/mcs/; revision=67529
|
|
* X509Certificate2.cs: Ensure we can load certificates from read-only
files (fix bug #79616).
svn path=/trunk/mcs/; revision=66414
|
|
svn path=/trunk/mcs/; revision=66278
|
|
* X509Certificate2.cs : in .ctor(X509Certificate) call base copy .ctor()
as well. Fixed bug #79455.
svn path=/trunk/mcs/; revision=65731
|
|
* PublicKey.cs: Never return the private key in the Key property, even
if it was available when creating the public key.
svn path=/trunk/mcs/; revision=65308
|
|
* X509Certificate2.cs : implemented HasPrivateKey. Return null
when the corresponding RSA or DSA has no private key.
* X509Certificate2Test.cs : added test for PrivateKey and
HasPrivateKey for non-private-inclusive certificate.
svn path=/trunk/mcs/; revision=65233
|
|
* X509Certificate2.cs: Call import in ctor to be sure the private key
will be decoded. Last fix for #79269.
svn path=/trunk/mcs/; revision=64944
|
|
* X509Certificate2.cs: A unrequired password can be supplied to the
2.0 ctors. Fix bug #79028.
svn path=/trunk/mcs/; revision=63480
|
|
* X509Certificate2.cs : .ctor(string, string) and .ctor(string,
SecureString) should call proper base constructor method for each.
Implemented IssuerName. Fixed bug #78986.
svn path=/trunk/mcs/; revision=63244
|
|
* Uri.cs: Pragma disable warning 612 (Obsolete methods are being
used by us internally).
Ponder: should we instead move our methods to use new versions of
the Obsoleted ones?
2006-03-11 Miguel de Icaza <miguel@novell.com>
* CodeNamespaceImportCollection.cs: It turns out that a lot of the
errors flagged with "!" were just missing explicit interface
implementations.
Implement.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* CodeDomConfigurationHandler.cs: Comment out unused methods.
* TempFileCollection.cs: Implement explicitly some interface
methods to get rid of the "!" errors on CorCompare.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* Queue.cs: Flag as serializable.
* LinkedList.cs (OnDeserialization): Fix signature.
* SortedList.cs: Implement explicitly a few methods that were
flagged by corcompare.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* IOrderedDictionary.cs: Flag GetEnumerator as a "new" method to
avoid warning.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* ConfigurationSettings.cs (ChangeConfigurationSettings): Make
internal to avoid warnings. This routine is called from
System.Web with MethodInfo.Invoke.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* DeflateStream.cs: Comment out DllImport that was not being
used.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* y
* SerialPort.cs: Remove unused variable (writeBuffer).
* SerialPortStream.cs (Dispose): override, not new.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* WebClient.cs: Only expose the right methods to avoid warnings.
* FtpDataStream.cs (Dispose): Fix signature.
* FtpWebResponse.cs: Comment out keepAlive field (unused, sounds
like we are missing features here).
* IPAddress.cs: Move m_HashCode property to the end, and set
pragmas to disable warnings.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* MailAddress.cs: Comment out unused field to remove warning.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* NetworkChange.cs: Use pragmas to eliminate warnings from events
that we do not trigger yet.
This is a candidate for using Aaron's NetworkManager code. But
would make us depend on d-bus.
* NetworkInformationException.cs: Use error_code for ErrorCode,
instead of NativeErrorCode. Fixes warning.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* AuthenticatedStream.cs: Fixed normative parameter names (yes, we
need to do this everywhere one day).
(Close): actually obey the "leaveInnerStreamOpen" setting from the
constructor.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* NetworkStream.cs (Dispose): Use the right signature depending on
the profile being built.
2006-03-11 Miguel de Icaza <miguel@novell.com>
* X509Chain.cs: Flagged member as internal to avoid unused warning.
* X500DistinguishedName.cs: Comment out unused names and move
temporary unused variables inside the comments that were removed
svn path=/trunk/mcs/; revision=57836
|
|
* X500DistinguishedName.cs: Added validation (still missing parsing).
* X509Certificate2Enumerator.cs: Add missing IEnumerator.* methods.
svn path=/trunk/mcs/; revision=53454
|
|
* PublicKey.cs: Completed implementation for both RSA and DSA public
keys.
svn path=/trunk/mcs/; revision=53358
|
|
* OpenFlags.cs: Removed extra [Serializable] (not in 2.0).
* StoreLocation.cs: Removed extra [Serializable] (not in 2.0).
* StoreName.cs: Removed extra [Serializable] (not in 2.0).
* X500DistinguishedNameFlags.cs: Removed extra [Serializable] (!2.0).
* X509ChainStatusFlags.cs: Removed extra [Serializable] (not in 2.0).
* X509FindType.cs: Removed extra [Serializable] (not in 2.0).
* X509IncludeOption.cs: Removed extra [Serializable] (not in 2.0).
* X509RevocationFlag.cs: Removed extra [Serializable] (not in 2.0).
* X509RevocationMode.cs: Removed extra [Serializable] (not in 2.0).
* X509SubjectKeyIdentifierHashAlgorithm.cs: Removed extra
[Serializable] (not in 2.0).
* X509VerificationFlags.cs: Removed extra [Serializable] (not in 2.0).
svn path=/trunk/mcs/; revision=52747
|
|
* X509Certificate2Collection.cs: Class is not sealed. Removed Select
methods (moved to a new class in System.Security.dll).
* X509Certificate2.cs: Removed Display methods (moved to a new class
in System.Security.dll).
* X509SelectionFlag.cs: Removed. This enum is still in System.Security
* X509NameType.cs: Added new DnsFromAlternativeName value.
svn path=/trunk/mcs/; revision=50848
|
|
isn't yet available.
svn path=/trunk/mcs/; revision=50774
|
|
* All classes, except X509CertificateCollection, moved from
System.Security.dll assembly as part of 2.0 RC changes.
2005-04-27 Sebastien Pouliot <sebastien@ximian.com>
* X509BasicConstraintsExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509CertificateEx.cs: Throw a CryptographicException in the RawData
property if no certificate is loaded in the instance.
* X509EnhancedKeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Extension.cs: Now throw ArgumentNullException in CopyFrom (fixed
in beta2).
* X509KeyUsageExtension.cs: Now throw ArgumentNullException in
CopyFrom (fixed in beta2).
* X509Store.cs: Re-added certificate creation to get the exception.
* X509SubjectKeyIdentifierExtension.cs: Throw ArgumentNullException in
CopyFrom (fixed in beta2). Fix SubjectKeyIdentifier to return an empty
string (not null) after (unsucessful) decoding.
2005-04-26 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs: Used new features from Mono.Security.dll to
load certificates and private keys from PKCS#12.
2005-04-24 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs: Added new constructors and Import methods that
accept SecureString for passwords. Added new property HasPrivateKey and
Verify method.
* X509CertificateExCollection.cs: Added new constructor that accept a
single X509Certificate2.
* X509EnhancedKeyUsageExtension.cs: Fixed compiler warnings.
* X509KeyUsageExtension.cs: Fixed new enum name for CrlSign.
* X509KeyUsageFlags.cs: Fixed values and removed [Serializable].
* X509NameType.cs: Fixed values and removed [Serializable].
* X509Store.cs: Added new constructor that accept an IntPtr and the
StoreHandle property. Fixed compiler warnings.
2005-04-23 Sebastien Pouliot <sebastien@ximian.com>
* X509CertificateEx.cs, X509CertificateExCollection.cs,
X509CertificateExEnumerator.cs, X509Chain.cs, X509ChainElement.cs,
X509ChainPolicy.cs, X509Store.cs: Changed all references of
X509CertificateEx to X509Certificate2 to match beta2.
2005-01-17 Sebastien Pouliot <sebastien@ximian.com>
* X509BasicConstraintsExtension.cs: Completed implementation.
* X509Chain.cs: Updated to Dec CTP definitions.
* X509ChainPolicy.cs: Updated to Dec CTP definitions.
* X500DistinguishedNameFlags.cs: Added new ForceUTF8Encoding.
* X509EnhancedKeyUsageExtension.cs: New. Complete implementation.
* X509Extension.cs: Completed implementation.
* X509ExtensionCollection.cs: Updated to Dec CTP definitions.
* X509KeyUsageExtension.cs: Completed implementation.
* X509RevocationFlag.cs: Minus 1 on each member.
* X509SubjectKeyIdentifierExtension.cs: Completed implementation
except for the new constructor accepting a public key.
* X509SubjectKeyIdentifierHashAlgorithm.cs: New enum.
2004-09-03 Tim Coleman <tim@timcoleman.com>
* X509KeyUsageExtension.cs: New stub class
* X509SubjectKeyIdentifierExtension.cs: New stub class
* PublicKey.cs X509BasicConstraintsExtension.cs X509CertificateEx.cs
* X509CertificateExCollection.cs X509Extension.cs
* X509ExtensionCollection.cs:
Bring these more in line with 2.0
2004-07-08 Sebastien Pouliot <sebastien@ximian.com>
* OpenFlags.cs: Fixed flags values. Added missing attributes.
* StoreLocation.cs: Fixed enum values. Added missing [Serializable].
* StoreName.cs: Fixed enum values. Added missing [Serializable].
* X500DistinguishedName.cs: New. X.501 DN.
* X500DistinguishedNameFlags.cs: New. X.501 DN flags.
* X509CertificateEx.cs: Updated to Fx 2.0 beta 1. Added MonoTODO.
* X509Chain.cs: Added missing Reset method.
* X509ChainStatusFlags.cs: Fixed flags values. Added missing attrs.
* X509Extension.cs: Fixed API.
* X509ExtensionCollection.cs: Fixed API and implemented.
* X509FindType.cs: Fixed enum values. Added missing [Serializable].
* X509IncludeOption.cs: Added missing [Serializable].
* X509KeyUsageFlags.cs: : Fixed flags values. Added missing attrs.
* X509NameType.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationFlag.cs: Fixed enum values. Added missing [Serializable].
* X509RevocationMode.cs: Added missing [Serializable].
* X509SelectionFlag.cs: Added missing [Serializable].
* X509VerificationFlags.cs: Fixed flags values. Added missing attrs.
2004-07-07 Sebastien Pouliot <sebastien@ximian.com>
* X509Store.cs: Removed old store code (as it has changed a lot in
Mono.Security).
2003-12-07 Sebastien Pouliot <spouliot@videotron.ca>
* PublicKey.cs: New (1.2). Class that encapsulate an ASN.1 encoded
public key.
* X509BasicConstraintsExtension.cs: New (1.2). X.509 certification
extension for BasicConstraints.
* X509CertificateEx.cs: New (1.2). Augmented class to use X.509
certificates.
* X509CertificateExCollection.cs: New (1.2). Collection class for
X509CertificateEx.
* X509CertificateExEnumerator.cs: New (1.2). Enumerator class for
X509CertificateEx.
* X509ChainElement.cs: New (1.2). Information (certificate, status,
informations) for a member of a certificate chain.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainStatus.cs: New (1.2). Chain status (many can apply to a
single X509ChainElement).
* X509Extension.cs: New (1.2). Base class for all certificate
extensions.
* X509ExtensionCollection.cs: New (1.2). Collection class for
X509Extension.
* X509ExtensionEnumerator.cs: New (1.2). Enumerator class for
X509Extension.
2003-11-08 Sebastien Pouliot <spouliot@videotron.ca>
* OpenFlags.cs: New (1.2). Enumeration for certificate stores.
* StoreLocation.cs: New (1.2). Enumeration for certificate stores.
* StoreName.cs: New (1.2). Enumeration for certificate stores.
* X509Chain.cs: New (1.2). Class to build a certificate chain up to a
trusted anchor.
* X509ChainElement.cs: New (1.2). Element from the chain (certificate,
status and information) - only stubbed for now.
* X509ChainElementCollection.cs: New (1.2). Collection class for
X509ChainElement.
* X509ChainElementEnumerator.cs: New (1.2). Enumerator class for
X509ChainElement.
* X509ChainPolicy.cs: New (1.2). Policy to build a certificate chain.
* X509ChainStatusFlags.cs: New (1.2). Enumeration for chain status.
* X509FindType.cs: New (1.2). Enumeration for how to find X.509
certificates in stores.
* X509IncludeOption.cs: New (1.2). Enumeration for options about which
certificate(s) to store within a (pkcs7) structure.
* X509KeyUsageFlags.cs: New (1.2). Enumeration for specifying valid
usage for a keypair.
* X509NameType.cs: New (1.2). Enumeration for different types of name
that can be present inside a certificate.
* X509RevocationFlag.cs: New (1.2). Enumeration for specifying which
certificates should be verified for revocation in a chain.
* X509RevocationMode.cs: New (1.2). Enumeration for specifying how the
revocation process should find it's informations.
* X509SelectionFlag.cs: New (1.2). Enumeration about how to select
certificates (ui-related).
* X509Store.cs: New (1.2). X.509 certificate store access - not complete.
* X509VerificationFlags.cs: New (1.2). Enumeration for parameters
affecting the verification of a certificate chain.
svn path=/trunk/mcs/; revision=50767
|
|
svn path=/trunk/mcs/; revision=30054
|
|
* X509CertificateCollection.cs: Fixed Contains which works by value
(i.e. not by object reference). Fixed Remove for null and unexisting
elements.
svn path=/trunk/mcs/; revision=28896
|
|
* X509CertificateCollection.cs: Fixed bugs in AddRange
(added the collection not the certificates in the collection).
svn path=/trunk/mcs/; revision=12091
|
|
* X509CertificateCollection.cs: Replaced the use of the private
ArrayList by the protected InnerList (from CollectionBase) so
Count property now works.
svn path=/trunk/mcs/; revision=11072
|
|
* X509CertificateCollection.cs (Add): New method.
svn path=/trunk/mcs/; revision=8457
|
|
svn path=/trunk/mcs/; revision=4550
|