Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 public void SetUp()
 {
     mSut = new LocalIdentity(new ReadOnlyCollection <IProperty>(new List <IProperty>()));
 }
Esempio n. 3
0
 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);
 }