gnutls_x509_privkey_get_pk_algorithm3
Api function
Usage
#include <gnutls/x509.h>
int gnutls_x509_privkey_get_pk_algorithm(gnutls_x509_privkey_t key);
Arguments
- gnutls_x509_privkey_t key
-
should contain a
gnutls_x509_privkey_ttype
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.
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.