1gnutls_openpgp_key_get_key_usage(3) gnutls gnutls_openpgp_key_get_key_usage(3)
2
3
4

NAME

6       gnutls_openpgp_key_get_key_usage  -  This  function  returns  the key's
7       usage
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int gnutls_openpgp_key_get_key_usage(gnutls_openpgp_key_t key, unsigned
13       int * key_usage);
14

ARGUMENTS

16       gnutls_openpgp_key_t key
17                   should contain a gnutls_openpgp_key_t structure
18
19       unsigned int * key_usage
20                   where the key usage bits will be stored
21

DESCRIPTION

23       This  function will return certificate's key usage, by checking the key
24       algorithm. The key usage value will ORed values of the: GNUTLS_KEY_DIG‐
25       ITAL_SIGNATURE, GNUTLS_KEY_KEY_ENCIPHERMENT.
26
27       A negative value may be returned in case of parsing error.
28

REPORTING BUGS

30       Report bugs to <bug-gnutls@gnu.org>.
31
33       Copyright © 2006 Free Software Foundation.
34       Permission  is  granted  to make and distribute verbatim copies of this
35       manual provided the copyright notice and  this  permission  notice  are
36       preserved on all copies.
37

SEE ALSO

39       The  full  documentation  for gnutls is maintained as a Texinfo manual.
40       If the info and gnutls programs are properly installed  at  your  site,
41       the command
42
43              info gnutls
44
45       should give you access to the complete manual.
46
47
48
49gnutls                               1.6.3 gnutls_openpgp_key_get_key_usage(3)
Impressum