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

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