git_transport_certificate_check_cb

Callback for the user's custom certificate checks.

@param cert The host certificate @param valid Whether the libgit2 checks (OpenSSL or WinHTTP) think this certificate is valid @param host Hostname of the host libgit2 connected to @param payload Payload provided by the caller @return 0 to proceed with the connection, < 0 to fail the connection or > 0 to indicate that the callback refused to act and that the existing validity determination should be honored

extern (C) nothrow @nogc
alias git_transport_certificate_check_cb = int function
(,
int valid
,
const(char)* host
,
void* payload
)

Meta