diff options
Diffstat (limited to 'doc/functions/gnutls_privkey_status')
-rw-r--r-- | doc/functions/gnutls_privkey_status | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/functions/gnutls_privkey_status b/doc/functions/gnutls_privkey_status new file mode 100644 index 0000000..0195027 --- /dev/null +++ b/doc/functions/gnutls_privkey_status @@ -0,0 +1,17 @@ + + + + +@deftypefun {int} {gnutls_privkey_status} (gnutls_privkey_t @var{key}) +@var{key}: Holds the key + +Checks the status of the private key token. This function +is an actual wrapper over @code{gnutls_pkcs11_privkey_status()} , and +if the private key is a PKCS @code{11} token it will check whether +it is inserted or not. + +@strong{Returns:} this function will return non-zero if the token +holding the private key is still available (inserted), and zero otherwise. + +@strong{Since:} 3.1.10 +@end deftypefun |