Class TrustedKeyFetcher
java.lang.Object
com.atlassian.bamboo.plugins.git.jgit.transport.TrustedKeyFetcher
- All Implemented Interfaces:
com.jcraft.jsch.HostKeyRepository
Used to fetch public key of remote server when SSH connection used.
-
Field Summary
Fields inherited from interface com.jcraft.jsch.HostKeyRepository
CHANGED, NOT_INCLUDED, OK
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.jcraft.jsch.HostKey hostkey, com.jcraft.jsch.UserInfo ui) int
com.jcraft.jsch.HostKey[]
com.jcraft.jsch.HostKey[]
getHostKey
(String host, String type) getKey()
void
void
-
Constructor Details
-
TrustedKeyFetcher
public TrustedKeyFetcher()
-
-
Method Details
-
check
- Specified by:
check
in interfacecom.jcraft.jsch.HostKeyRepository
-
add
public void add(com.jcraft.jsch.HostKey hostkey, com.jcraft.jsch.UserInfo ui) - Specified by:
add
in interfacecom.jcraft.jsch.HostKeyRepository
-
remove
- Specified by:
remove
in interfacecom.jcraft.jsch.HostKeyRepository
-
remove
- Specified by:
remove
in interfacecom.jcraft.jsch.HostKeyRepository
-
getKnownHostsRepositoryID
- Specified by:
getKnownHostsRepositoryID
in interfacecom.jcraft.jsch.HostKeyRepository
-
getHostKey
public com.jcraft.jsch.HostKey[] getHostKey()- Specified by:
getHostKey
in interfacecom.jcraft.jsch.HostKeyRepository
-
getHostKey
- Specified by:
getHostKey
in interfacecom.jcraft.jsch.HostKeyRepository
-
getKey
-