1gnutls_x509_privkey_import_dh_raw(3)gnutlsgnutls_x509_privkey_import_dh_raw(3)
2
3
4
6 gnutls_x509_privkey_import_dh_raw - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_privkey_import_dh_raw(gnutls_x509_privkey_t key, const
12 gnutls_dh_params_t params, const gnutls_datum_t * y, const gnutls_da‐
13 tum_t * x);
14
16 gnutls_x509_privkey_t key
17 The data 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
29 This function will convert the given Diffie-Hellman raw parameters to
30 the native gnutls_x509_privkey_t format. The output will be stored in
31 key .
32
34 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
35 ror value.
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: https://www.gnutls.org
40
41
43 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright no‐
46 tice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 https://www.gnutls.org/manual/
54
55gnutls 3.8.2gnutls_x509_privkey_import_dh_raw(3)