public class SimpleIdentityRepository
extends java.lang.Object
implements com.jcraft.jsch.IdentityRepository
| Constructor and Description |
|---|
SimpleIdentityRepository() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(byte[] blob) |
void |
add(com.jcraft.jsch.Identity identity) |
java.util.Vector<com.jcraft.jsch.Identity> |
getIdentities() |
com.jcraft.jsch.Identity |
getIdentity(int idx) |
com.jcraft.jsch.Identity |
getIdentity(java.lang.String name) |
java.lang.String |
getName() |
int |
getStatus() |
boolean |
remove(byte[] blob) |
boolean |
remove(com.jcraft.jsch.Identity id) |
void |
removeAll() |
public java.lang.String getName()
getName in interface com.jcraft.jsch.IdentityRepositorypublic int getStatus()
getStatus in interface com.jcraft.jsch.IdentityRepositorypublic com.jcraft.jsch.Identity getIdentity(java.lang.String name)
public com.jcraft.jsch.Identity getIdentity(int idx)
public java.util.Vector<com.jcraft.jsch.Identity> getIdentities()
getIdentities in interface com.jcraft.jsch.IdentityRepositorypublic void add(com.jcraft.jsch.Identity identity)
public boolean remove(com.jcraft.jsch.Identity id)
public void removeAll()
removeAll in interface com.jcraft.jsch.IdentityRepositorypublic boolean add(byte[] blob)
add in interface com.jcraft.jsch.IdentityRepositorypublic boolean remove(byte[] blob)
remove in interface com.jcraft.jsch.IdentityRepository