public class SSHAgentTest extends Object
| Constructor and Description |
|---|
SSHAgentTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
init()
Find ssh key file.
|
void |
testIsNotValidPassphrase()
Test qu'une passphrase n'est pas valide pour une clé.
|
void |
testIsValidPassphrase()
Test si une passphrase est valide pour une clé SSH.
|
void |
testKeyExist()
Test que la clé existe.
|
protected static File keyFile
public static void init()
throws URISyntaxException
URISyntaxExceptionpublic void testKeyExist()
public void testIsValidPassphrase()
throws com.jcraft.jsch.JSchException
com.jcraft.jsch.JSchExceptionpublic void testIsNotValidPassphrase()
throws com.jcraft.jsch.JSchException
com.jcraft.jsch.JSchExceptionCopyright © 1999–2019 CodeLutin. All rights reserved.