Exemplo n.º 1
0
        public void addIdentity(byte[] buf, String name, String bar)
        {
            Identity identity = new IdentityFile(buf, name, this);

            if (bar != null)
            {
                identity.setPassphrase(bar);
            }
            identities.Add(identity);
        }
Exemplo n.º 2
0
        public void addIdentity(String foo, String bar)
        {
            Identity identity = new IdentityFile(foo, this);

            if (bar != null)
            {
                identity.setPassphrase(bar);
            }
            identities.Add(identity);
        }
Exemplo n.º 3
0
		public void addIdentity(String foo, String bar) 
		{
			Identity identity=new IdentityFile(foo, this);
			if(bar!=null) identity.setPassphrase(bar);
			identities.Add(identity);
		}