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