/// <summary> /// Add recipient keys /// </summary> public void AddKey(PublicKey key) { this.recipientKeys.Add (key); }
public override PublicKey GetPublic(string name) { string keyPath = Path.Combine (this.path, name + publicSuffix); PublicKey key = new PublicKey (File.ReadAllText (keyPath, Encoding.UTF8)); key.Name = name; return key; }
public RecipientID(PublicKey recipient) { keyBuffer = Encoding.ASCII.GetBytes(recipient.ToXml()); }