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.IdentityRepository
public int getStatus()
getStatus
in interface com.jcraft.jsch.IdentityRepository
public 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.IdentityRepository
public void add(com.jcraft.jsch.Identity identity)
public boolean remove(com.jcraft.jsch.Identity id)
public void removeAll()
removeAll
in interface com.jcraft.jsch.IdentityRepository
public boolean add(byte[] blob)
add
in interface com.jcraft.jsch.IdentityRepository
public boolean remove(byte[] blob)
remove
in interface com.jcraft.jsch.IdentityRepository