public class SVNSSHPrivateKeyUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CONNECTOR_CLASS |
private static java.lang.String |
CONNECTOR_FACTORY_CLASS |
private static java.lang.String |
TRILEAD_AGENT_PROXY_CLASS |
Constructor and Description |
---|
SVNSSHPrivateKeyUtil() |
Modifier and Type | Method and Description |
---|---|
static com.trilead.ssh2.auth.AgentProxy |
createOptionalSSHAgentProxy() |
static boolean |
isValidPrivateKey(char[] privateKey,
char[] passphrase) |
static boolean |
isValidPrivateKey(char[] privateKey,
java.lang.String passphrase)
Deprecated.
|
static char[] |
readPrivateKey(java.io.File privateKey) |
private static final java.lang.String TRILEAD_AGENT_PROXY_CLASS
private static final java.lang.String CONNECTOR_FACTORY_CLASS
private static final java.lang.String CONNECTOR_CLASS
public static com.trilead.ssh2.auth.AgentProxy createOptionalSSHAgentProxy()
public static char[] readPrivateKey(java.io.File privateKey)
public static boolean isValidPrivateKey(char[] privateKey, java.lang.String passphrase)
public static boolean isValidPrivateKey(char[] privateKey, char[] passphrase)