| Value | Meaning |
|---|---|
| GIT_CERT_NONE | No information about the certificate is available. This may happen when using curl. |
| GIT_CERT_X509 | The data argument to the callback will be a pointer to the DER-encoded data. |
| GIT_CERT_HOSTKEY_LIBSSH2 | The data argument to the callback will be a pointer to a git_cert_hostkey structure. |
| GIT_CERT_STRARRAY | The data argument to the callback will be a pointer to a git_strarray with name:content strings containing information about the certificate. This is used when using curl. |
Type of host certificate structure that is passed to the check callback