public void AddKey(EcKey key) { lock (this) { Debug.Assert(!Keychain.Contains(key)); Keychain.Add(key); } }