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_privkey_status - API function

Arguments

gnutls_privkey_t key Holds the key

Description

Checks the status of the private key token. This function is an actual wrapper over gnutls_pkcs11_privkey_status(), and if the private key is a PKCS 11 token it will check whether it is inserted or not.

Name

gnutls_privkey_status - API function

Reporting Bugs

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

Returns

this function will return non-zero if the token holding the private key is still available (inserted), and zero otherwise.

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_privkey_status(3)

Since

3.1.10

Synopsis

#include<gnutls/abstract.h>intgnutls_privkey_status(gnutls_privkey_tkey);

See Also