1gnutls_pubkey_export_dsa_raw(3) gnutls gnutls_pubkey_export_dsa_raw(3)
2
3
4
6 gnutls_pubkey_export_dsa_raw - API function
7
9 #include <gnutls/abstract.h>
10
11 int gnutls_pubkey_export_dsa_raw(gnutls_pubkey_t key, gnutls_datum_t *
12 p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y);
13
15 gnutls_pubkey_t key
16 Holds the public key
17
18 gnutls_datum_t * p
19 will hold the p (may be NULL)
20
21 gnutls_datum_t * q
22 will hold the q (may be NULL)
23
24 gnutls_datum_t * g
25 will hold the g (may be NULL)
26
27 gnutls_datum_t * y
28 will hold the y (may be NULL)
29
31 This function will export the DSA public key's parameters found in the
32 given certificate. The new parameters will be allocated using
33 gnutls_malloc() and will be stored in the appropriate datum.
34
35 This function allows for NULL parameters since 3.4.1.
36
38 GNUTLS_E_SUCCESS on success, otherwise a negative error code.
39
41 3.3.0
42
44 Report bugs to <bugs@gnutls.org>.
45 Home page: https://www.gnutls.org
46
47
49 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
50 Copying and distribution of this file, with or without modification,
51 are permitted in any medium without royalty provided the copyright
52 notice and this notice are preserved.
53
55 The full documentation for gnutls is maintained as a Texinfo manual.
56 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
57 visit
58
59 https://www.gnutls.org/manual/
60
61gnutls 3.6.13 gnutls_pubkey_export_dsa_raw(3)