示例#1
0
        public void StartTls(Connection connection)
        {
            TlsConnection tlsConnection = connection as TlsConnection;

            if (tlsConnection == null)
            {
                return;
            }

            tlsConnection.StartTls();
        }
示例#2
0
        public void PostStsMessage(Connection connection, string header, string body)
        {
            TlsConnection tlsConnection = connection as TlsConnection;

            if (tlsConnection == null)
            {
                return;
            }

            StsResponse.Post(tlsConnection, header, body);
        }
示例#3
0
        public void SendStsMessage(Connection connection, StsMessage message)
        {
            TlsConnection tlsConnection = connection as TlsConnection;

            if (tlsConnection == null)
            {
                return;
            }

            StsResponse.SendStsMessage(tlsConnection, message);
        }