Callback for the user's custom certificate checks.
The type of certificate or host info, SSH or X.509
The data for the certificate or host info
The size of the certificate or host info
Whether the libgit2 checks (OpenSSL or WinHTTP) think this certificate is valid