Interface IdentityProvider

All Known Implementing Classes:
BytesIdentityInfo, IdentityInfo

public interface IdentityProvider
Provides identity to a JSch.
Since:
2.4
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addIdentity(com.jcraft.jsch.JSch jsch)
    Add this identity to the given JSch.
  • Method Details

    • addIdentity

      void addIdentity(com.jcraft.jsch.JSch jsch) throws com.jcraft.jsch.JSchException
      Add this identity to the given JSch.
      Parameters:
      jsch - Target JSch.
      Throws:
      com.jcraft.jsch.JSchException - If I/O error occurs.