Package com.google.gerrit.common.data
Class SshHostKey
- java.lang.Object
-
- com.google.gerrit.common.data.SshHostKey
-
public class SshHostKey extends Object
Description of the SSH daemon host key used by Gerrit.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SshHostKey()
SshHostKey(String hi, String hk, String fp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFingerprint()
String
getHostIdent()
String
getHostKey()
-
-
-
Method Detail
-
getHostIdent
public String getHostIdent()
- Returns:
- host name string, to appear in a known_hosts file.
-
getHostKey
public String getHostKey()
- Returns:
- base 64 encoded host key string, starting with key type.
-
getFingerprint
public String getFingerprint()
- Returns:
- the key fingerprint, as displayed by a connecting client.
-
-