From 5af9e09a87cc120e2f2da4fadc6b04685f96dda0 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 22 Jun 2022 22:08:13 +0700 Subject: Code cleanup --- crypto/test/src/pkcs/test/PKCS10Test.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'crypto/test/src/pkcs') 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(); -- cgit 1.5.1