Пример #1
0
        public broker()
        {
            name = "Default Broker";
            clist = new List<bcertificate>();

            rsa brsa = new rsa();
            bpvk = brsa.getPrivate();
            bpbk = brsa.getPublic();
        }
Пример #2
0
        public user(string n, string m, string c)
        {
            name = n;
            mail = m;
            card = c;
            commited = false;

            rsa ursa = new rsa();
            upvk = ursa.getPrivate();
            upbk = ursa.getPublic();
        }
Пример #3
0
        public user()
        {
            name = "defaultname";
            mail = "defaultmail";
            card = "defaultcard";
            commited = false;

            rsa ursa = new rsa();
            upvk = ursa.getPrivate();
            upbk = ursa.getPublic();
        }