public void addIdentity(string name, byte[] prvkey, byte[] pubkey, byte[] passphrase) { Identity identity = (Identity)IdentityFile.newInstance(name, prvkey, pubkey, this); addIdentity(identity, passphrase); }
public void addIdentity(string prvkey, byte[] passphrase) { Identity identity = (Identity)IdentityFile.newInstance(prvkey, null, this); addIdentity(identity, passphrase); }