libgit2

git_credential_sign_cb

Version:

Callback for credential signing.

Signature

typedef int git_credential_sign_cb(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len, const unsigned char *data, size_t data_len, void **abstract);

Parameters

In
session

the libssh2 session

unsigned char **
In
sig

the signature

size_t *
In
sig_len

the length of the signature

const unsigned char *
In
data

the data

size_t
In
data_len

the length of the data

void **
In
abstract

the abstract

Returns

int

0 for success, < 0 to indicate an error, > 0 to indicate no credential was acquired

Parameter To

Versions