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