public void StartTls(Connection connection) { TlsConnection tlsConnection = connection as TlsConnection; if (tlsConnection == null) { return; } tlsConnection.StartTls(); }
public void PostStsMessage(Connection connection, string header, string body) { TlsConnection tlsConnection = connection as TlsConnection; if (tlsConnection == null) { return; } StsResponse.Post(tlsConnection, header, body); }
public void SendStsMessage(Connection connection, StsMessage message) { TlsConnection tlsConnection = connection as TlsConnection; if (tlsConnection == null) { return; } StsResponse.SendStsMessage(tlsConnection, message); }