| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
@deftypefun {int} {gnutls_pkcs11_privkey_get_pk_algorithm} (gnutls_pkcs11_privkey_t @var{key}, unsigned int * @var{bits}) |
| 6 |
@var{key}: should contain a @code{gnutls_pkcs11_privkey_t} type |
| 7 |
|
| 8 |
@var{bits}: if bits is non null it will hold the size of the parameters' in bits |
| 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 |