libgit2

git_credential_ssh_custom

Version:

A key with a custom signature function

Signature

typedef struct git_credential_ssh_custom { git_credential parent char *username char *publickey size_t publickey_len git_credential_sign_cb sign_callback void *payload };

Members

parent

The parent credential

char *
username

The username to authenticate as

char *
publickey

The public key data

size_t
publickey_len

Length of the public key

sign_callback

Callback used to sign the data.

void *
payload

Payload passed to prompt_callback

Versions