Example #1
0
 private void button7_Click(object sender, EventArgs e)
 {
     /* encrypt Service Request message and send it to Service Server.
      * show the message on display.
      * */
     f.printProcess("\n\nCreate request message and ecnrypt the message using Key CS (Scenario 14, 15)", ncolor);
     encMessage      = secCol.encryption(secCol.getBit(p.getServiceName()), tabCol, p.getCSKey(), f);
     textBox11.Text  = p.getServiceName();
     textBox12.Text  = encMessage;
     button2.Enabled = true;
     button7.Enabled = false;
     mainPage.setFlag(14);
     mainPage.setFlag(15);
 }