geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
928 B

  1. .TH libssh2_userauth_publickey 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_userauth_publickey - authenticate using a callback function
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. .nf
  7. int libssh2_userauth_publickey(LIBSSH2_SESSION *session,
  8. const char *user,
  9. const unsigned char *pubkeydata,
  10. size_t pubkeydata_len,
  11. sign_callback,
  12. void **abstract);
  13. .SH DESCRIPTION
  14. Authenticate with the \fIsign_callback\fP callback that matches the prototype
  15. below
  16. .SH CALLBACK
  17. .nf
  18. int name(LIBSSH2_SESSION *session, unsigned char **sig, size_t *sig_len,
  19. const unsigned char *data, size_t data_len, void **abstract);
  20. .fi
  21. This function gets called...
  22. .SH RETURN VALUE
  23. Return 0 on success or negative on failure.
  24. .SH SEE ALSO
  25. .BR libssh2_userauth_publickey_fromfile_ex(3)