1gnutls_privkey_import_dh_raw(3)     gnutls     gnutls_privkey_import_dh_raw(3)
2
3
4

NAME

6       gnutls_privkey_import_dh_raw - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int     gnutls_privkey_import_dh_raw(gnutls_privkey_t     key,    const
12       gnutls_dh_params_t params, const gnutls_datum_t * y,  const  gnutls_da‐
13       tum_t * x);
14

ARGUMENTS

16       gnutls_privkey_t key
17                   The structure to store the parsed key
18
19       const gnutls_dh_params_t params
20                   holds the gnutls_dh_params_t
21
22       const gnutls_datum_t * y
23                   holds the y (optional)
24
25       const gnutls_datum_t * x
26                   holds the x
27

DESCRIPTION

29       This  function  will convert the given Diffie-Hellman raw parameters to
30       the native gnutls_privkey_t format.  The output will be stored in   key
31       .
32

RETURNS

34       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
35       ror value.
36

SINCE

38       3.8.2
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
47       Copying and distribution of this file, with  or  without  modification,
48       are  permitted in any medium without royalty provided the copyright no‐
49       tice and this notice are preserved.
50

SEE ALSO

52       The full documentation for gnutls is maintained as  a  Texinfo  manual.
53       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
54       visit
55
56       https://www.gnutls.org/manual/
57
58gnutls                               3.8.2     gnutls_privkey_import_dh_raw(3)
Impressum