summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-10-18 10:36:10 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-10-18 10:36:10 +0700
commit175c992ffd939c924fdeb866fb88db89db4059ae (patch)
tree3407ac4d20e1c29955702a1d5f63102dd635e4d1
parenthttps://github.com/bcgit/bc-csharp/issues/37 (diff)
downloadBouncyCastle.NET-ed25519-175c992ffd939c924fdeb866fb88db89db4059ae.tar.xz
Added missing key generation code
-rw-r--r--crypto/test/src/openpgp/examples/test/AllTests.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/test/src/openpgp/examples/test/AllTests.cs b/crypto/test/src/openpgp/examples/test/AllTests.cs
index c20b599d7..9a515ea15 100644
--- a/crypto/test/src/openpgp/examples/test/AllTests.cs
+++ b/crypto/test/src/openpgp/examples/test/AllTests.cs
@@ -249,6 +249,8 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples.Tests
 		{
 			CreateTestFile(clearSignedPublicKey, "test.txt");
 
+            RsaKeyRingGenerator.Main(new string[]{ "test", "password" });
+
 			ClearSignedFileProcessor.Main(new string[]{ "-s", "test.txt", "secret.bpg", "password" });
 		}
 
@@ -258,6 +260,8 @@ namespace Org.BouncyCastle.Bcpg.OpenPgp.Examples.Tests
             CreateTestData("This is a test payload!" + Environment.NewLine, "test.txt");
             CreateTestData("This is a test payload!" + Environment.NewLine, "test.bak");
 
+            RsaKeyRingGenerator.Main(new string[]{ "test", "password" });
+
             ClearSignedFileProcessor.Main(new string[]{"-s", "test.txt", "secret.bpg", "password"});
             ClearSignedFileProcessor.Main(new string[]{"-v", "test.txt.asc", "pub.bpg"});