protected MonoConnectionParameters (MonoConnectionParameters other) : base (other) { if (other.ClientCiphers != null) ClientCiphers = new List<CipherSuiteCode> (other.ClientCiphers); ClientNamedCurve = other.ClientNamedCurve; ServerNamedCurve = other.ServerNamedCurve; ExpectedClientCipher = other.ExpectedClientCipher; ExpectClientAlert = other.ExpectClientAlert; if (other.ServerCiphers != null) ServerCiphers = new List<CipherSuiteCode> (other.ServerCiphers); ExpectedServerCipher = other.ExpectedServerCipher; ExpectServerAlert = other.ExpectServerAlert; }
protected MonoConnectionParameters(MonoConnectionParameters other) : base(other) { if (other.ClientCiphers != null) { ClientCiphers = new List <CipherSuiteCode> (other.ClientCiphers); } ClientNamedCurve = other.ClientNamedCurve; ServerNamedCurve = other.ServerNamedCurve; ExpectedClientCipher = other.ExpectedClientCipher; ExpectClientAlert = other.ExpectClientAlert; if (other.ServerCiphers != null) { ServerCiphers = new List <CipherSuiteCode> (other.ServerCiphers); } ExpectedServerCipher = other.ExpectedServerCipher; ExpectServerAlert = other.ExpectServerAlert; }