public interface SshAgent
| Modifier and Type | Interface and Description |
|---|---|
static class |
SshAgent.Pair<U,V> |
| 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) |
void |
close() |
java.util.List<SshAgent.Pair<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.util.List<SshAgent.Pair<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.IOExceptionvoid close()
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.