Class IdentityRepository.Wrapper

  • All Implemented Interfaces:
    IdentityRepository
    Enclosing interface:
    IdentityRepository

    public static class IdentityRepository.Wrapper
    extends 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.