1gnutls_privkey_export_pkcs11(3)     gnutls     gnutls_privkey_export_pkcs11(3)
2
3
4

NAME

6       gnutls_privkey_export_pkcs11 - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int         gnutls_privkey_export_pkcs11(gnutls_privkey_t         pkey,
12       gnutls_pkcs11_privkey_t * key);
13

ARGUMENTS

15       gnutls_privkey_t pkey
16                   The private key
17
18       gnutls_pkcs11_privkey_t * key
19                   Location for the key to be exported.
20

DESCRIPTION

22       Converts the given abstract private key  to  a  gnutls_pkcs11_privkey_t
23       type.  The  key must be of type GNUTLS_PRIVKEY_PKCS11. The key returned
24       in  key must be deinitialized with gnutls_pkcs11_privkey_deinit().
25

RETURNS

27       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
28       error value.
29

SINCE

31       3.4.0
32

REPORTING BUGS

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

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                              3.6.13     gnutls_privkey_export_pkcs11(3)
Impressum