|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for any class that will be used as a ReSTAgent to serve JSch Identities.
| Method Summary | |
boolean |
addIdentity(Object id)
Adds an Identity to the agent |
Vector |
getIdentities()
Returns a vector of all known Identities. |
int |
nextIdentity(int i)
Switch to an Identity from the agent. |
boolean |
removeIdentity(Object id)
Removes an Identity from the agent. |
| Methods inherited from interface com.jcraft.jsch.Identity |
decrypt, getAlgName, getName, getPublicKeyBlob, getSignature, isEncrypted, setPassphrase, setPassphrase, setPassphrase |
| Method Detail |
public Vector getIdentities()
throws RemoteException
RemoteException - Thrown when an RMI error occurs.
public boolean addIdentity(Object id)
throws RemoteException
id - The Identity to add
RemoteException - Thrown when an RMI error occurs.
public boolean removeIdentity(Object id)
throws RemoteException
id - The Identity to remove.
RemoteException - Thrown when an RMI error occurs.
public int nextIdentity(int i)
throws RemoteException
i - The Identity to goto next.
RemoteException - Thrown when an RMI error occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||