private void buttonVerify_Click(object sender, System.EventArgs e)
        {
            bool bVer = SignVerify.VerifyXML(textBoxVerify.Text);

            if (bVer)
            {
                MessageBox.Show(Messages.SuccessMessage, Messages.DemoTitle, MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
            }
            else
            {
                MessageBox.Show(Messages.FailureMessage, Messages.DemoTitle, MessageBoxButtons.OK, MessageBoxIcon.Stop);
            }
        }
        private void buttonSign_Click(object sender, System.EventArgs e)
        {
            switch (keyInfoBox.SelectedIndex)
            {
            case 0:
                textBoxVerify.Text = SignVerify.SignXML(textBoxSign.Text);
                break;

            case 1:
                textBoxVerify.Text = SignVerify.SignXMLX509Data(textBoxSign.Text);
                break;
            }
        }