doc/functions/gnutls_x509_privkey_get_pk_algorithm2
raw| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | @deftypefun {int} {gnutls_x509_privkey_get_pk_algorithm2} (gnutls_x509_privkey_t @var{key}, unsigned int * @var{bits}) |
| 6 | @var{key}: should contain a @code{gnutls_x509_privkey_t} type |
| 7 | |
| 8 | @var{bits}: The number of bits in the public key algorithm |
| 9 | |
| 10 | This function will return the public key algorithm of a private |
| 11 | key. |
| 12 | |
| 13 | @strong{Returns:} a member of the @code{gnutls_pk_algorithm_t} enumeration on |
| 14 | success, or a negative error code on error. |
| 15 | @end deftypefun |