summary refs log tree commit diff
path: root/crypto/test/src/openssl
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-10-17 13:27:48 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-10-17 13:27:48 +0700
commit611474ef0fca0e2fa127a30665eb36b0db03fdbd (patch)
tree987e4dd0294438d500f9938df53954976aaf8506 /crypto/test/src/openssl
parentMerge branch 'darkoperator-keyhasing' (diff)
downloadBouncyCastle.NET-ed25519-611474ef0fca0e2fa127a30665eb36b0db03fdbd.tar.xz
Refactoring
Diffstat (limited to 'crypto/test/src/openssl')
-rw-r--r--crypto/test/src/openssl/test/WriterTest.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/crypto/test/src/openssl/test/WriterTest.cs b/crypto/test/src/openssl/test/WriterTest.cs
index 41f371708..0d7887771 100644
--- a/crypto/test/src/openssl/test/WriterTest.cs
+++ b/crypto/test/src/openssl/test/WriterTest.cs
@@ -90,21 +90,21 @@ namespace Org.BouncyCastle.OpenSsl.Tests
 			AsymmetricCipherKeyPair testDsaKp = dsaKpg.GenerateKeyPair();
 			AsymmetricKeyParameter testDsaKey = testDsaKp.Private;
 
-			doWriteReadTest(testDsaKey);
-			doWriteReadTests(testDsaKey, algorithms);
+			DoWriteReadTest(testDsaKey);
+			DoWriteReadTests(testDsaKey, algorithms);
 
-			doWriteReadTest(testRsaKey);
-			doWriteReadTests(testRsaKey, algorithms);
+			DoWriteReadTest(testRsaKey);
+			DoWriteReadTests(testRsaKey, algorithms);
 
 			AsymmetricKeyParameter ecPriv = PrivateKeyFactory.CreateKey(testEcDsaKeyBytes);
-			doWriteReadTest(ecPriv);
-			doWriteReadTests(ecPriv, algorithms);
+			DoWriteReadTest(ecPriv);
+			DoWriteReadTests(ecPriv, algorithms);
 
 			IAsymmetricCipherKeyPairGenerator ecKpg = GeneratorUtilities.GetKeyPairGenerator("ECDSA");
 			ecKpg.Init(new KeyGenerationParameters(random, 239));
 			ecPriv = ecKpg.GenerateKeyPair().Private;
-			doWriteReadTest(ecPriv);
-			doWriteReadTests(ecPriv, algorithms);
+			DoWriteReadTest(ecPriv);
+			DoWriteReadTests(ecPriv, algorithms);
 
 			// override test
 			PemWriter pWrt = new PemWriter(new StringWriter());
@@ -115,17 +115,17 @@ namespace Org.BouncyCastle.OpenSsl.Tests
 			pWrt.Writer.Close();
 		}
 
-		private void doWriteReadTests(
+		private void DoWriteReadTests(
 			AsymmetricKeyParameter	akp,
 			string[]				algorithms)
 		{
 			foreach (string algorithm in algorithms)
 			{
-				doWriteReadTest(akp, algorithm);
+				DoWriteReadTest(akp, algorithm);
 			}
 		}
 
-		private void doWriteReadTest(
+		private void DoWriteReadTest(
 			AsymmetricKeyParameter	akp)
 		{
 			StringWriter sw = new StringWriter();
@@ -146,7 +146,7 @@ namespace Org.BouncyCastle.OpenSsl.Tests
 			}
 		}
 
-		private void doWriteReadTest(
+		private void DoWriteReadTest(
 			AsymmetricKeyParameter	akp,
 			string					algorithm)
 		{