Searched refs:authenticateWithPublicKey (Results 1 - 4 of 4) sorted by relevance

/external/ganymed-ssh2/examples/
H A DPortForwarding.java44 boolean isAuthenticated = conn.authenticateWithPublicKey(username, keyfile, keyfilePass);
H A DPublicKeyAuthentication.java37 boolean isAuthenticated = conn.authenticateWithPublicKey(username, keyfile, keyfilePass);
H A DSwingShell.java570 boolean res = conn.authenticateWithPublicKey(username, key, esd.answer);
590 boolean res = conn.authenticateWithPublicKey(username, key, esd.answer);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
H A DConnection.java36 * <li>calls some of the authentication methods (e.g., {@link #authenticateWithPublicKey(String, File, String) authenticateWithPublicKey()}).</li>
170 * @deprecated You should use one of the {@link #authenticateWithPublicKey(String, File, String) authenticateWithPublicKey()}
420 public synchronized boolean authenticateWithPublicKey(String user, char[] pemPrivateKey, String password) method in class:Connection
448 * and then calls <code>authenticateWithPublicKey(String, char[], String)</code>.
470 public synchronized boolean authenticateWithPublicKey(String user, File pemFile, String password) method in class:Connection
492 return authenticateWithPublicKey(user, cw.toCharArray(), password);

Completed in 247 milliseconds