Exemple #1
0
 public TLSServer(TcpClient client, SecurityParameters securityParameters)
 {
     _client             = client;
     _securityParameters = securityParameters;
 }
Exemple #2
0
 public SecureSession(Stream stream, SecurityParameters securityParameters)
 {
     _securityParameters  = securityParameters;
     _recordStream        = new TLSRecordStream(stream);
     _handshakePacketizer = new TLSHandshakePacketizer();
 }