gnutls_pkcs11_privkey_get_pk_algorithm3
Api function
Arguments
- gnutls_pkcs11_privkey_t key
-
should contain a
gnutls_pkcs11_privkey_ttype
- unsigned int * bits
-
if bits is non null it will hold the size of the parameters' in bits
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)