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
diff options
context:
space:
mode:
authorSebastien Pouliot <sebastien@ximian.com>2002-12-31 20:33:06 +0300
committerSebastien Pouliot <sebastien@ximian.com>2002-12-31 20:33:06 +0300
commit8f7ce12d413802f2079c5764d07a89aa7406738d (patch)
treeea54fdc8588ac70de91050cdaf68e6bd1a4e8cba /mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs
parent93aaeca08a1024879a86ea8846c04ab692702679 (diff)
2002-12-31 Sebastien Pouliot <spouliot@videotron.ca>
* AsymmetricAlgorithm.cs: Removed ValidKeySize (method only present in SymmetricAlgorithm). * DSA.cs: Change ZeroizePrivateKey from protected to internal. * DSACryptoServiceProvider.cs: Added some case where we need to check for keypairGenerated. * RSA.cs: Change ZeroizePrivateKey from protected to internal. * RSACryptoServiceProvider.cs: Key were never generated with the default (no parameter) constructor. Now checks for keypairGenerated in methods. * SignatureDescription.cs: Added CreateDeformatter in RSAPKCS1SHA1- SignatureDescription to please corcompare (it just call it's ancestor). svn path=/trunk/mcs/; revision=10019
Diffstat (limited to 'mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs')
-rwxr-xr-xmcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs9
1 files changed, 0 insertions, 9 deletions
diff --git a/mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs b/mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs
index 7d5c881c025..bb2986470dc 100755
--- a/mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs
+++ b/mcs/class/corlib/System.Security.Cryptography/AsymmetricAlgorithm.cs
@@ -114,15 +114,6 @@ namespace System.Security.Cryptography {
}
/// <summary>
- /// Checks wether the given keyLength is valid for the current algorithm
- /// </summary>
- /// <param name="bitLength">the given keyLength</param>
- public bool ValidKeySize (int bitLength)
- {
- return IsLegalKeySize (LegalKeySizesValue, bitLength);
- }
-
- /// <summary>
/// Creates the default implementation of the default asymmetric algorithm (RSA).
/// </summary>
public static AsymmetricAlgorithm Create ()