|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.gerritevents.ssh.SshUtil
public final class SshUtil
Base util for connecting, authenticating and doing stuff on an ssh client->server connection.
| Method Summary | |
|---|---|
static boolean |
checkPassPhrase(File keyFilePath,
String passPhrase)
Checks to see if the passPhrase is valid for the private key file. |
static boolean |
isPrivateKeyFileValid(File keyFile)
Does a series of checks in the file to see if it is a valid private key file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isPrivateKeyFileValid(File keyFile)
keyFile - the file
public static boolean checkPassPhrase(File keyFilePath,
String passPhrase)
keyFilePath - the private key file.passPhrase - the password for the file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||