logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

gnutls_sign_get_pk_algorithm - API function

Arguments

gnutls_sign_algorithm_t sign is a signature algorithm

Description

This function returns the public key algorithm corresponding to the given signature algorithms. Note that there may be multiple public key algorithms supporting a particular signature type; when dealing with such algorithms use instead gnutls_sign_supports_pk_algorithm().

Name

gnutls_sign_get_pk_algorithm - API function

Reporting Bugs

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

Returns

return a gnutls_pk_algorithm_t value, or GNUTLS_PK_UNKNOWN on error.

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/ gnutls 3.8.9 gnutls_sign_get_pk_algorithm(3)

Since

3.1.1

Synopsis

#include<gnutls/gnutls.h>gnutls_pk_algorithm_tgnutls_sign_get_pk_algorithm(gnutls_sign_algorithm_tsign);

See Also