setPassphrase() public method

public setPassphrase ( String _passphrase ) : bool
_passphrase String
return bool
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);
		}