com.jcraft.jsch
Class IdentityRepository.Wrapper
java.lang.Object
com.jcraft.jsch.IdentityRepository.Wrapper
- All Implemented Interfaces:
- IdentityRepository
- Enclosing interface:
- IdentityRepository
public static class IdentityRepository.Wrapper
- extends java.lang.Object
- implements IdentityRepository
JSch will accept ciphered keys, but some implementations of
IdentityRepository can not. For example, IdentityRepository for
ssh-agent and pageant only accept plain keys. The following class has
been introduced to cache ciphered keys for them, and pass them
whenever they are de-ciphered.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getName
public java.lang.String getName()
- Specified by:
getName
in interface IdentityRepository
getStatus
public int getStatus()
- Specified by:
getStatus
in interface IdentityRepository
add
public boolean add(byte[] identity)
- Specified by:
add
in interface IdentityRepository
remove
public boolean remove(byte[] blob)
- Specified by:
remove
in interface IdentityRepository
removeAll
public void removeAll()
- Specified by:
removeAll
in interface IdentityRepository
getIdentities
public java.util.Vector getIdentities()
- Specified by:
getIdentities
in interface IdentityRepository