Beispiel #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            int v1 = CipherSuiteControl.RemoveCipherSuite("TLS_RSA_WITH_RC4_128_SHA");
            int v2 = CipherSuiteControl.RemoveCipherSuite("TLS_RSA_WITH_RC4_128_MD5");

            MessageBox.Show(String.Format("Remove TLS_RSA_WITH_RC4_128_SHA = {0:X8}\nRemove TLS_RSA_WITH_RC4_128_MD5 = {1:X8}", v1, v2));
            UpdateListBox();
        }
Beispiel #2
0
        private void UpdateListBox()
        {
            var cipherList = CipherSuiteControl.GetCipherSuiteList();

            listBox1.Items.Clear();
            foreach (var ciphersuite in cipherList)
            {
                listBox1.Items.Add(ciphersuite);
            }
        }