gnutls_x509_privkey_sec_param — API function

Synopsis

#include <gnutls/x509.h>

gnutls_sec_param_t gnutls_x509_privkey_sec_param(gnutls_x509_privkey_t key);

Arguments

gnutls_x509_privkey_t key

a key

Description

This function will return the security parameter appropriate with this private key.

Returns

On success, a valid security parameter is returned otherwise GNUTLS_SEC_PARAM_UNKNOWN is returned.

Since

2.12.0

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

https://www.gnutls.org/manual/

Info

3.6.9 gnutls