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/pkcs11.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 type
17
18       unsigned int * bits
19                   if bits is non null it will hold the size  of  the  parame‐
20                   ters' in bits
21

DESCRIPTION

23       This function will return the public key algorithm of a private key.
24

RETURNS

26       a member of the gnutls_pk_algorithm_t enumeration on success, or a neg‐
27       ative error code on error.
28

REPORTING BUGS

30       Report bugs to <bugs@gnutls.org>.
31       Home page: https://www.gnutls.org
32
33
35       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
36       Copying and distribution of this file, with  or  without  modification,
37       are  permitted  in  any  medium  without royalty provided the copyright
38       notice and this notice are preserved.
39

SEE ALSO

41       The full documentation for gnutls is maintained as  a  Texinfo  manual.
42       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
43       visit
44
45       https://www.gnutls.org/manual/
46
47gnutls                               3g.n6u.t7ls_pkcs11_privkey_get_pk_algorithm(3)
Impressum