gnutls_privkey_get_type3
Api function
Usage
#include <gnutls/abstract.h>
gnutls_privkey_type_t gnutls_privkey_get_type(gnutls_privkey_t key);
Arguments
- gnutls_privkey_t key
-
should contain a
gnutls_privkey_ttype
Overview
This function will return the type of the private key. This is actually the type of the subsystem used to set this private key.
Returns
a member of the gnutls_privkey_type_t enumeration on success, or a negative error code on error.
Since
2.12.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.