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) |
List<Pair<PublicKey,String>> |
getIdentities() |
void |
removeAllIdentities() |
void |
removeIdentity(PublicKey key) |
byte[] |
sign(PublicKey key,
byte[] data) |
static final String SSH_AUTHSOCKET_ENV_NAME
List<Pair<PublicKey,String>> getIdentities() throws IOException
IOException
byte[] sign(PublicKey key, byte[] data) throws IOException
IOException
void addIdentity(KeyPair key, String comment) throws IOException
IOException
void removeIdentity(PublicKey key) throws IOException
IOException
void removeAllIdentities() throws IOException
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.