public SSLClientEndPoint(string hostname, int port, string serverCommunicationName, string serverEnvironment, string pathToCertificate, string certificatePassword) { mllpClient = new SimpleMLLPClient(hostname, port); // Add client certificate authentication if needed if (!string.IsNullOrEmpty(pathToCertificate) && !string.IsNullOrEmpty(certificatePassword)) mllpClient.AddCertificate(pathToCertificate, certificatePassword); mllpClient.EnableSsl(); ServerCommunicationName = serverCommunicationName; ServerEnvironment = serverEnvironment; }
public MLLPClientEndPoint(string hostname, int port, string serverCommunicationName, string serverEnvironment) { mllpClient = new SimpleMLLPClient(hostname, port); ServerCommunicationName = serverCommunicationName; ServerEnvironment = serverEnvironment; }