gnutls_x509_privkey_get_pk_algorithm23
Api function
Arguments
- gnutls_x509_privkey_t key
-
should contain a
gnutls_x509_privkey_ttype
- unsigned int * bits
-
The number of bits in the public key algorithm
Overview
This function will return the public key algorithm of a private key.
Returns
a member of the gnutls_pk_algorithm_t enumeration on success, or a negative error code on error.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)