public void BadPassphraseTest() { var root = new CACertificate("test", "Root"); root.CreateSelfSignature(); root.Lock(); root.Unlock("other"); }
public void PassphraseTest() { var root = new CACertificate("test", "Root"); root.CreateSelfSignature(); root.Lock(); root.Unlock("test"); root.Sign(Encoding.UTF8.GetBytes("hello")); root.Lock(); }