public interface SshAgent extends Channel
| Modifier and Type | Field and Description |
|---|---|
static String |
SSH_AUTHSOCKET_ENV_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(KeyPair key,
String comment) |
Iterable<? extends Map.Entry<PublicKey,String>> |
getIdentities() |
void |
removeAllIdentities() |
void |
removeIdentity(PublicKey key) |
byte[] |
sign(SessionContext session,
PublicKey key,
byte[] data) |
static final String SSH_AUTHSOCKET_ENV_NAME
Iterable<? extends Map.Entry<PublicKey,String>> getIdentities() throws IOException
IOExceptionbyte[] sign(SessionContext session, PublicKey key, byte[] data) throws IOException
IOExceptionvoid addIdentity(KeyPair key, String comment) throws IOException
IOExceptionvoid removeIdentity(PublicKey key) throws IOException
IOExceptionvoid removeAllIdentities()
throws IOException
IOExceptionCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.