diff options
author | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@gmail.com> | 2022-06-22 22:08:13 +0700 |
commit | 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 (patch) | |
tree | 9647961b98f60c9706ab8491e73070759d4a3545 /crypto/test/src/pkcs | |
parent | Change namespace for bzip2 code (diff) | |
download | BouncyCastle.NET-ed25519-5af9e09a87cc120e2f2da4fadc6b04685f96dda0.tar.xz |
Code cleanup
Diffstat (limited to 'crypto/test/src/pkcs')
-rw-r--r-- | crypto/test/src/pkcs/test/PKCS10Test.cs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/test/src/pkcs/test/PKCS10Test.cs b/crypto/test/src/pkcs/test/PKCS10Test.cs index 45d59ed49..c3bc4c948 100644 --- a/crypto/test/src/pkcs/test/PKCS10Test.cs +++ b/crypto/test/src/pkcs/test/PKCS10Test.cs @@ -32,15 +32,12 @@ namespace Org.BouncyCastle.Pkcs.Tests [Test] public void BrokenRequestWithDuplicateExtension() { - - String keyName = "RSA"; + string keyName = "RSA"; int keySize = 2048; - String sigName = "SHA256withRSA"; + string sigName = "SHA256withRSA"; IAsymmetricCipherKeyPairGenerator kpg = GeneratorUtilities.GetKeyPairGenerator(keyName); - - // kpg.initialize(keySize); kpg.Init(new KeyGenerationParameters(new SecureRandom(), keySize)); AsymmetricCipherKeyPair kp = kpg.GenerateKeyPair(); |