Debian Codegraph @

doc/functions/gnutls_privkey_status

raw
1
2
3
4
5 @deftypefun {int} {gnutls_privkey_status} (gnutls_privkey_t @var{key})
6 @var{key}: Holds the key
7
8 Checks the status of the private key token. This function
9 is an actual wrapper over @code{gnutls_pkcs11_privkey_status()} , and
10 if the private key is a PKCS @code{11} token it will check whether
11 it is inserted or not.
12
13 @strong{Returns:} this function will return non-zero if the token
14 holding the private key is still available (inserted), and zero otherwise.
15
16 @strong{Since:} 3.1.10
17 @end deftypefun