public static void SetApplicationSetting() { PGPKeyStorage pGPKeyStorage = ApplicationSetting.ToolSetting.PGPInformation; pGPKeyStorage.EncryptedPassphase = "UGotMe".Encrypt(); pGPKeyStorage.AddPrivateKey(PRIVATE); pGPKeyStorage.AddPublicKey(PUBLIC); }
public void AddPrivateKeyTest() { m_PGPKeyStorage.AddPrivateKey(PGPKeyStorageTestHelper.PRIVATE); Assert.AreEqual(1, m_PGPKeyStorage.PrivateKeys.Count()); }