public LocalSafeNode(string name, string ip, int port, X509Certificate2 pkey, bool local, string hash, ConnectionMethod.ConnMethod CM = ConnectionMethod.ConnMethod.Clear) { this.ip = ip; this.port = port; this.CM = CM; identity = new LocalIdentity(pkey, hash, name, local); }
public void SetUp() { mSut = new LocalIdentity(new ReadOnlyCollection <IProperty>(new List <IProperty>())); }
public LocalSafeNode(string name, X509Certificate2 pkey, string hiddenid, ConnectionMethod.ConnMethod CM, bool local, string hash) { this.hiddenid = hiddenid; this.CM = CM; identity = new LocalIdentity(pkey, hash, name, local); }