public abstract class AbstractAgentProxy extends java.lang.Object implements SshAgent
SshAgent.Pair<U,V>SSH_AUTHSOCKET_ENV_NAME| Constructor and Description |
|---|
AbstractAgentProxy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addIdentity(java.security.KeyPair key,
java.lang.String comment) |
void |
close() |
protected Buffer |
createBuffer(byte cmd) |
java.util.List<SshAgent.Pair<java.security.PublicKey,java.lang.String>> |
getIdentities() |
protected Buffer |
prepare(Buffer buffer) |
void |
removeAllIdentities() |
void |
removeIdentity(java.security.PublicKey key) |
protected abstract Buffer |
request(Buffer buffer) |
byte[] |
sign(java.security.PublicKey key,
byte[] data) |
public java.util.List<SshAgent.Pair<java.security.PublicKey,java.lang.String>> getIdentities() throws java.io.IOException
getIdentities in interface SshAgentjava.io.IOExceptionpublic byte[] sign(java.security.PublicKey key,
byte[] data)
throws java.io.IOException
public void addIdentity(java.security.KeyPair key,
java.lang.String comment)
throws java.io.IOException
addIdentity in interface SshAgentjava.io.IOExceptionpublic void removeIdentity(java.security.PublicKey key)
throws java.io.IOException
removeIdentity in interface SshAgentjava.io.IOExceptionpublic void removeAllIdentities()
throws java.io.IOException
removeAllIdentities in interface SshAgentjava.io.IOExceptionprotected Buffer createBuffer(byte cmd)
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.