Example #1
0
        public static void SetApplicationSetting()
        {
            PGPKeyStorage pGPKeyStorage = ApplicationSetting.ToolSetting.PGPInformation;

            pGPKeyStorage.EncryptedPassphase = "UGotMe".Encrypt();
            pGPKeyStorage.AddPrivateKey(PRIVATE);
            pGPKeyStorage.AddPublicKey(PUBLIC);
        }
Example #2
0
 public void AddPrivateKeyTest()
 {
     m_PGPKeyStorage.AddPrivateKey(PGPKeyStorageTestHelper.PRIVATE);
     Assert.AreEqual(1, m_PGPKeyStorage.PrivateKeys.Count());
 }