diff options
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/test/src/openpgp/examples/test/AllTests.cs | 4 |
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"}); |