public X509Name(Asn1Sequence node) { foreach (var subnode in node.Nodes) { var set = (Asn1Set)subnode; var item = new X509RelativeDistinguishedName(set); _items.Add(item); } }
private void Set(Asn1ObjectIdentifier id, string value) { var item = _items.FirstOrDefault(i => i.Id == id); if (item == null) { item = new X509RelativeDistinguishedName(id); _items.Add(item); } item.Value = value; }