Debian Codegraph @

doc/functions/gnutls_pkcs11_token_get_flags

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pkcs11_token_get_flags} (const char * @var{url}, unsigned int * @var{flags})
6 @var{url}: should contain a PKCS 11 URL
7
8 @var{flags}: The output flags (GNUTLS_PKCS11_TOKEN_*)
9
10 This function will return information about the PKCS 11 token flags.
11
12 The supported flags are: @code{GNUTLS_PKCS11_TOKEN_HW} and @code{GNUTLS_PKCS11_TOKEN_TRUSTED} .
13
14 @strong{Returns:} @code{GNUTLS_E_SUCCESS} (0) on success or a negative error code on error.
15
16 @strong{Since:} 2.12.0
17 @end deftypefun