Ejemplo 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);
        }
Ejemplo 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;
 }
Ejemplo 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);
        }
Ejemplo 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");
     }
 }
Ejemplo 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);
     }
 }
Ejemplo 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);
     }
 }
Ejemplo 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");
     }
 }
Ejemplo 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);
 }