Thread.State, Thread.UncaughtExceptionHandlerSshAgent.Pair<U,V>MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITYSSH_AUTHSOCKET_ENV_NAME| Constructor and Description |
|---|
AgentClient(String authSocket) |
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(KeyPair key,
String comment) |
void |
close() |
protected Buffer |
createBuffer(byte cmd) |
List<SshAgent.Pair<PublicKey,String>> |
getIdentities() |
protected void |
messageReceived(Buffer buffer) |
void |
removeAllIdentities() |
void |
removeIdentity(PublicKey key) |
protected Buffer |
request(Buffer buffer) |
void |
run() |
byte[] |
sign(PublicKey key,
byte[] data) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic AgentClient(String authSocket) throws IOException
IOExceptionpublic List<SshAgent.Pair<PublicKey,String>> getIdentities() throws IOException
getIdentities in interface SshAgentIOExceptionpublic byte[] sign(PublicKey key, byte[] data) throws IOException
sign in interface SshAgentIOExceptionpublic void addIdentity(KeyPair key, String comment) throws IOException
addIdentity in interface SshAgentIOExceptionpublic void removeIdentity(PublicKey key) throws IOException
removeIdentity in interface SshAgentIOExceptionpublic void removeAllIdentities()
throws IOException
removeAllIdentities in interface SshAgentIOExceptionprotected Buffer createBuffer(byte cmd)
protected Buffer request(Buffer buffer) throws IOException
IOExceptionCopyright © 2008-2012 Apache Software Foundation. All Rights Reserved.