2017-04-24 21:04:52 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Net.Sockets;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
2017-05-30 17:44:27 +00:00
|
|
|
|
using Kneesocks;
|
|
|
|
|
using CircleScape.Encryption;
|
2017-04-24 21:04:52 +00:00
|
|
|
|
|
2017-05-25 21:08:21 +00:00
|
|
|
|
namespace CircleScape {
|
2017-05-03 21:10:50 +00:00
|
|
|
|
class ActiveConnection : Kneesocks.Connection {
|
2017-05-30 17:44:27 +00:00
|
|
|
|
private Cipher Encryptor;
|
2017-05-12 21:05:18 +00:00
|
|
|
|
|
2017-05-30 17:44:27 +00:00
|
|
|
|
public void Initialize(PendingConnection conn) {
|
|
|
|
|
Initialize(conn, false);
|
|
|
|
|
Encryptor = conn.Encryptor;
|
|
|
|
|
|
|
|
|
|
}
|
2017-04-24 21:04:52 +00:00
|
|
|
|
}
|
|
|
|
|
}
|