SSH.KnownHosts.Type - charonn0/RB-libssh2 GitHub Wiki
SSH.KnownHosts.Type
Method Signature
Function Type(Index As Integer) As Integer
Parameters
| Name | Type | Comment |
|---|---|---|
Index |
Integer | The index of the fingerprint whose type you want to get. |
Remarks
Returns a bitmask containing one of each of the following:
LIBSSH2_KNOWNHOST_TYPE_PLAIN,LIBSSH2_KNOWNHOST_TYPE_SHA1orLIBSSH2_KNOWNHOST_TYPE_CUSTOMto indicate how the host name is encoded.LIBSSH2_KNOWNHOST_KEYENC_RAWorLIBSSH2_KNOWNHOST_KEYENC_BASE64to indicate how the key is encoded.LIBSSH2_KNOWNHOST_KEY_RSA1,LIBSSH2_KNOWNHOST_KEY_SSHRSAorLIBSSH2_KNOWNHOST_KEY_SSHDSSto indicate which type of cipher the key is used with.