1gnutls_pkcs11_privkey_get_pk_algorithgmng(un3tu)ltsls_pkcs11_privkey_get_pk_algorithm(3)
2
3
4

NAME

6       gnutls_pkcs11_privkey_get_pk_algorithm - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_pkcs11_privkey_get_pk_algorithm(gnutls_pkcs11_privkey_t key,
12       unsigned int * bits);
13

ARGUMENTS

15       gnutls_pkcs11_privkey_t key
16                   should contain a gnutls_pkcs11_privkey_t structure
17
18       unsigned int * bits
19

DESCRIPTION

21       This function will return the public key algorithm of a private key.
22

RETURNS

24       a member of the gnutls_pk_algorithm_t enumeration on success, or a neg‐
25       ative value on error.
26

REPORTING BUGS

28       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
29       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
30       http://www.gnu.org/gethelp/
31
33       Copyright © 2008 Free Software Foundation.
34       Copying  and  distribution  of this file, with or without modification,
35       are permitted in any medium  without  royalty  provided  the  copyright
36       notice and this notice are preserved.
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                             2.1g2n.u6t.l1s_pkcs11_privkey_get_pk_algorithm(3)
Impressum