class KnownHosts.HashedHostKey extends HostKey
Modifier and Type | Field and Description |
---|---|
(package private) byte[] |
hash |
private static java.lang.String |
HASH_DELIM |
private static java.lang.String |
HASH_MAGIC |
private boolean |
hashed |
(package private) byte[] |
salt |
Constructor and Description |
---|
HashedHostKey(java.lang.String host,
byte[] key) |
HashedHostKey(java.lang.String host,
int type,
byte[] key) |
HashedHostKey(java.lang.String marker,
java.lang.String host,
int type,
byte[] key,
java.lang.String comment) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
hash() |
(package private) boolean |
isHashed() |
(package private) boolean |
isMatched(java.lang.String _host) |
getComment, getFingerPrint, getHost, getKey, getMarker, getType, name2type
private static final java.lang.String HASH_MAGIC
private static final java.lang.String HASH_DELIM
private boolean hashed
byte[] salt
byte[] hash
HashedHostKey(java.lang.String host, byte[] key) throws JSchException
JSchException
HashedHostKey(java.lang.String host, int type, byte[] key) throws JSchException
JSchException
HashedHostKey(java.lang.String marker, java.lang.String host, int type, byte[] key, java.lang.String comment) throws JSchException
JSchException