git_cert_hostkey

Hostkey information taken from libssh2

Members

Variables

hash_md5
ubyte[16] hash_md5;

Hostkey hash. If type has GIT_CERT_SSH_MD5 set, this will have the MD5 hash of the hostkey.

hash_sha1
ubyte[20] hash_sha1;

Hostkey hash. If type has GIT_CERT_SSH_SHA1 set, this will have the SHA-1 hash of the hostkey.

hash_sha256
ubyte[32] hash_sha256;

Hostkey hash. If type has GIT_CERT_SSH_SHA256 set, this will have the SHA-256 hash of the hostkey.

hostkey
const(char)* hostkey;

Pointer to the raw hostkey. If type has GIT_CERT_SSH_RAW set, this will have the raw contents of the hostkey.

hostkey_len
size_t hostkey_len;

Raw hostkey length. If type has GIT_CERT_SSH_RAW set, this will have the length of the raw contents of the hostkey.

parent
.git_cert parent;

The parent cert

raw_type
.git_cert_ssh_raw_type_t raw_type;

Raw hostkey type. If type has GIT_CERT_SSH_RAW set, this will have the type of the raw hostkey.

type
.git_cert_ssh_t type;

A bitmask containing the available fields.

Meta