org.apache.sshd.agent
Interface SshAgent
- All Known Implementing Classes:
- AgentClient, AgentLocal, AgentServer
public interface SshAgent
SSH key agent server
SSH_AUTHSOCKET_ENV_NAME
static final String SSH_AUTHSOCKET_ENV_NAME
- See Also:
- Constant Field Values
getIdentities
List<SshAgent.Pair<PublicKey,String>> getIdentities()
throws IOException
- Throws:
IOException
sign
byte[] sign(PublicKey key,
byte[] data)
throws IOException
- Throws:
IOException
addIdentity
void addIdentity(KeyPair key,
String comment)
throws IOException
- Throws:
IOException
removeIdentity
void removeIdentity(PublicKey key)
throws IOException
- Throws:
IOException
removeAllIdentities
void removeAllIdentities()
throws IOException
- Throws:
IOException
close
void close()
Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.