Esempio n. 1
0
        public void addIdentity(string name, byte[] prvkey, byte[] pubkey, byte[] passphrase)
        {
            Identity identity = (Identity)IdentityFile.newInstance(name, prvkey, pubkey, this);

            addIdentity(identity, passphrase);
        }
Esempio n. 2
0
        public void addIdentity(string prvkey, byte[] passphrase)
        {
            Identity identity = (Identity)IdentityFile.newInstance(prvkey, null, this);

            addIdentity(identity, passphrase);
        }