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
2015-04-28[corlib] More cryptography from reference sourcesMarek Safar
2010-11-03[API] X509 related enhacemnts to allow 1) associating keystore's private ↵Pablo Ruiz Garcia
keys with their corresponding public certificates found at X509Stores, and 2) importing private keys to X509Stores along with certificates. mcs/class/corlib/Mono.Security.X509/X509Store.cs: mcs/class/Mono.Security/Mono.Security.X509/X509Store.cs: mcs/class/corlib/Mono.Security.X509/X509StoreManager.cs: mcs/class/Mono.Security/Mono.Security.X509/X509StoreManager.cs: Modified MSX.X509Store to allow importing privateKeys along certificates (by using RSACryptoServiceProvider and KeyPairPersister). Fixed X509Store to use certificate's hash as CspParameters.KeyContainerName. mcs/tools/security/certmgr.cs: Added a new -importKey action to certmgr, which allows importing a PKCS12 contained key into our KeyPair store. Added a more (verbose) output to certmgr's -list action. man/certmgr.1: Updated certmgr man page ti reflect -importKey addition. mcs/class/corlib/System.Security.Cryptography/CspParameters.cs: mcs/class/corlib/System.Security.Cryptography/RSACryptoServiceProvider.cs: Implemented RSACryptoServiceProvider.CspKeyContainerInfo getter RSACryptoServiceProvider will not take into account CspParameterFlags.UseExistingKey by throwing a CryptographicException if keyset identified by KeyContainerName does not exists.
2009-11-07Jumbo patch for NET_2_0, mscorlib is now cleanMiguel de Icaza
svn path=/trunk/mcs/; revision=145621
2008-07-032008-07-03 Andreas Nahr <ClassDevelopment@A-SoftTech.com>Andreas N
* SHA512Managed.cs: * SHA384Managed.cs: * SHA256Managed.cs: * SHA1Managed.cs: * SHA1CryptoServiceProvider.cs: * RSAPKCS1KeyExchangeDeformatter.cs: * RSACryptoServiceProvider.cs: * RSA.cs: * RIPEMD160Managed.cs: * RC2.cs: * PKCS1MaskGenerationMethod.cs: * MD5CryptoServiceProvider.cs: * MD5.cs: * MACTripleDES.cs: * HMACSHA512.cs: * HMACSHA384.cs: * HMACSHA256.cs: * HMACSHA1.cs: * HMACRIPEMD160.cs: * HMACMD5.cs: * HMAC.cs: * HashAlgorithm.cs: * FromBase64Transform.cs: * DSACryptoServiceProvider.cs: * DES.cs: * CspParameters.cs: Fix parameter names svn path=/trunk/mcs/; revision=107126
2005-06-102005-06-10 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* all: 2.0 beta2 fixes, i.e. mostly added [ComVisible(true)] svn path=/trunk/mcs/; revision=45759
2005-05-16Set svn:eol-style=native, delete svn:executable.Raja R Harinath
Fix line endings of System/Decimal.cs (only actual "change" in text, to force recompile of mscorlib to reflect changes in decimal constant handling in the compiler) svn path=/trunk/mcs/; revision=44558
2005-01-112005-01-10 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* CryptoConfig.cs: Change the OID for SHA-2 algorithms to match 2.0 and added new OID for asymmetric and symmetric algorithms. * CspKeyContainerInfo.cs: Added CryptoKeySecurity property. This will always return null until we support access control for key containers. * CspParameters.cs: Added new constructors and propertys for access control and password (2.0). * DSASignatureDeformatter.cs: Throw ArgumentNullException in NET_2_0 if a null key is specified. * DSASignatureFormatter.cs: Throw ArgumentNullException in NET_2_0 if a null key is specified. * HashAlgorithm.cs: Fix the reported exceptions for output buffers. * HMAC.cs: Change the .Clear (which calls Dispose) to a .Initialize. * MACTripleDES.cs: Removed unrequired private field _padding. * PasswordDeriveBytes.cs: Added 4 new constructors where the password is a byte[] (as it seems MS won't be using SecureString for this). * RIPEMD160Managed.cs: Removed overriden Dispose method to match 2.0. Clear buffers when initializing (e.g. re-using the hash instance). * Rfc2898DeriveBytes.cs: Added a new constructor where the password is a byte[] (as it seems MS won't be using SecureString for this). * RSAPKCS1SignatureDeformatter.cs: Throw ArgumentNullException in NET_2_0 if a null key is specified. * RSAPKCS1SignatureFormatter.cs: Throw ArgumentNullException in NET_2_0 if a null key is specified. * ToBase64Transform.cs: Fix the reported exceptions for output buffers. svn path=/trunk/mcs/; revision=38667
2004-06-11Add license and copyright to all source files in corlibDuncan Mak
svn path=/trunk/mcs/; revision=29249
2004-04-272004-04-26 Sebastien Pouliot <sebastien@ximian.com>Sebastien Pouliot
* AsymmetricAlgorithm.cs: Moved XML comments to monodoc. Added globalization to exceptions. Already had 100% coverage. * AsymmetricKeyExchangeDeformatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricKeyExchangeFormatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricSignatureDeformatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * AsymmetricSignatureFormatter.cs: Moved XML comments to monodoc. Already had 100% coverage. * CryptoAPITransform.cs: Unused by Mono (added note to monodoc). Class will stay at 0% coverage. * CryptoConfig.cs: Added globalization to exceptions. 98% coverage. * CryptographicException.cs: Added globalization to exceptions. Already had 100% coverage. * CryptoStream.cs: Added globalization to exceptions. Removed (unused) field _previousBlock to get 100% coverage. * CspParameters.cs: Moved XML comments to monodoc. Already had 100% coverage. * CspProviderFlags.cs: Moved XML comments to monodoc. * DeriveBytes.cs: Moved XML comments to monodoc. Already had 100% coverage. svn path=/trunk/mcs/; revision=26022
2001-10-11* Initial versions of several classes, includingThomas Neidhart
DSA base classes and CSP base classes svn path=/trunk/mcs/; revision=1141