org.apache.sshd.agent.common
Class AgentDelegate
java.lang.Object
org.apache.sshd.agent.common.AgentDelegate
- All Implemented Interfaces:
- SshAgent
public class AgentDelegate
- extends java.lang.Object
- implements SshAgent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AgentDelegate
public AgentDelegate(SshAgent agent)
close
public void close()
- Specified by:
close in interface SshAgent
getIdentities
public java.util.List<SshAgent.Pair<java.security.PublicKey,java.lang.String>> getIdentities()
throws java.io.IOException
- Specified by:
getIdentities in interface SshAgent
- Throws:
java.io.IOException
sign
public byte[] sign(java.security.PublicKey key,
byte[] data)
throws java.io.IOException
- Specified by:
sign in interface SshAgent
- Throws:
java.io.IOException
addIdentity
public void addIdentity(java.security.KeyPair key,
java.lang.String comment)
throws java.io.IOException
- Specified by:
addIdentity in interface SshAgent
- Throws:
java.io.IOException
removeIdentity
public void removeIdentity(java.security.PublicKey key)
throws java.io.IOException
- Specified by:
removeIdentity in interface SshAgent
- Throws:
java.io.IOException
removeAllIdentities
public void removeAllIdentities()
throws java.io.IOException
- Specified by:
removeAllIdentities in interface SshAgent
- Throws:
java.io.IOException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.