summary refs log tree commit diff
path: root/crypto/test/src/pkcs/test/PKCS10Test.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/test/src/pkcs/test/PKCS10Test.cs')
-rw-r--r--crypto/test/src/pkcs/test/PKCS10Test.cs7
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();