From 175c992ffd939c924fdeb866fb88db89db4059ae Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Sun, 18 Oct 2015 10:36:10 +0700 Subject: Added missing key generation code --- crypto/test/src/openpgp/examples/test/AllTests.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crypto') 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"}); -- cgit 1.4.1