Esempio n. 1
0
        public void sendrequest(broker b)
        {
            urequest ureq = new urequest(name, mail, card, upbk);

            utb.AppendText("Sent certificate request to broker:" + b + " !\n");
            b.getrequest(ureq, this);
        }
Esempio n. 2
0
 public bcertificate(broker b, string u, string a, rsakey uk, DateTime dt, string i, BigInteger sB)
 {
     brker = b;
     user = u;
     address = a;
     ukey = uk;
     exp = dt;
     info = i;
     sigB = sB;
 }
Esempio n. 3
0
        public Payword()
        {
            InitializeComponent();
            dredeem = new d_redemption(redemption);

            Vendor = new vendor();
            Vendor.setUIfront(Vtextbox);
            Vendor.setfref(this);
            Broker = new broker();
            Broker.setUIfront(Btextbox);
        }
Esempio n. 4
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }
Esempio n. 5
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
     {
         vtb.AppendText("No payments made !\n");
     }
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Esempio n. 6
0
 public void sendredemption(broker b)
 {
     if (lastpay.geti() == 0)
         vtb.AppendText("No payments made !\n");
     else
     {
         vtb.AppendText("Redepmtion sent to broker: " + b.ToString() + " !\n");
         redmess rm = new redmess(lastpay, ucomm);
         b.getredemption(rm, this);
     }
 }
Esempio n. 7
0
 public void gettransinfo(int np, broker b)
 {
     if (np == 0)
     {
         trust = false;
         vtb.AppendText("\tTransaction failed with :" + b.ToString() + " !\n");
     }
     else
     {
         trust = true;
         vtb.AppendText("\tTransaction completed with :" + b.ToString() + " for " + np + "$ !\n");
     }
 }
Esempio n. 8
0
 public void sendrequest(broker b)
 {
     urequest ureq = new urequest(name, mail, card, upbk);
     utb.AppendText("Sent certificate request to broker:" + b + " !\n");
     b.getrequest(ureq, this);
 }