public interface SshAgent
extends java.nio.channels.Channel
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SSH_AUTHSOCKET_ENV_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(java.security.KeyPair key,
java.lang.String comment) |
java.lang.Iterable<? extends java.util.Map.Entry<java.security.PublicKey,java.lang.String>> |
getIdentities() |
void |
removeAllIdentities() |
void |
removeIdentity(java.security.PublicKey key) |
byte[] |
sign(java.security.PublicKey key,
byte[] data) |
static final java.lang.String SSH_AUTHSOCKET_ENV_NAME
java.lang.Iterable<? extends java.util.Map.Entry<java.security.PublicKey,java.lang.String>> getIdentities()
throws java.io.IOException
java.io.IOExceptionbyte[] sign(java.security.PublicKey key,
byte[] data)
throws java.io.IOException
java.io.IOExceptionvoid addIdentity(java.security.KeyPair key,
java.lang.String comment)
throws java.io.IOException
java.io.IOExceptionvoid removeIdentity(java.security.PublicKey key)
throws java.io.IOException
java.io.IOExceptionvoid removeAllIdentities()
throws java.io.IOException
java.io.IOException