public void TestMethod1_EncryptArmoured()
        {
            RetrievePgpKeys keySetEnc = new RetrievePgpKeys(new List <string> {
                "jwdavidson+BcPGPTest@gmail_com_public.asc",
                "testuser@example_com_public.asc"
            },
                                                            "jwdavidson+BcPGPTest@gmail_com_secret.asc",
                                                            new char[] { 'W', 'i', '7', 'a', 'r', 'd', 'r', 'y', '!', 'T', 'e', 's', 't' },
                                                            @"C:\Users\John\BcPGP\", true);
            StringBuilder testString = new StringBuilder();

            testString.AppendLine("This is some text to test the encryption algorithm in my code for PGP.");
            testString.AppendLine("This is a second line of text with a      series    of spaces  in the    middle of the text.");
            PgpEncryptString testEncrypt = new PgpEncryptString(keySetEnc);
            string           Returned    = testEncrypt.EncryptAndSign(testString.ToString(), true);

            RetrievePgpKeys keySetUnc = new RetrievePgpKeys(new List <string> {
                "jwdavidson+BcPGPTest@gmail_com_public.asc"
            },
                                                            "jwdavidson+BcPGPTest@gmail_com_secret.asc",
                                                            new char[] { 'W', 'i', '7', 'a', 'r', 'd', 'r', 'y', '!', 'T', 'e', 's', 't' },
                                                            @"C:\Users\John\BcPGP\", true);

            byte[] unencryptedBytes = PGPDecryptString.Decrypt(Returned, keySetUnc);
            string Decrypted        = Encoding.UTF8.GetString(unencryptedBytes);

            Assert.IsTrue(Decrypted.Equals(testString.ToString()));
        }
        public void TestMethod1()
        {
            RetrievePgpKeys keySet = new RetrievePgpKeys(new List <string> {
                "jwdavidson+BcPGPTest@gmail_com_public.asc"
            },
                                                         "jwdavidson+BcPGPTest@gmail_com_secret.asc",
                                                         new char[] { 'W', 'i', '7', 'a', 'r', 'd', 'r', 'y', '!', 'T', 'e', 's', 't' },
                                                         @"C:\Users\John\BcPGP\", true);
            StringBuilder testString = new StringBuilder();

            testString.AppendLine("This is some text to test the encryption algorithm in my code for PGP.");
            testString.AppendLine("This is a second line of text with a      series    of spaces  in the    middle of the text.");
            PgpEncryptString testEncrypt = new PgpEncryptString(keySet);
            string           Returned    = testEncrypt.EncryptAndSign(testString.ToString(), true);
        }