1gnutls_openpgp_privkey_export_dsa_rawg(n3ug)tnlustls_openpgp_privkey_export_dsa_raw(3)
2
3
4
6 gnutls_openpgp_privkey_export_dsa_raw - This function will export the
7 DSA private key
8
10 #include <gnutls/openpgp.h>
11
12 int gnutls_openpgp_privkey_export_dsa_raw(gnutls_openpgp_privkey_t
13 pkey, gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * g,
14 gnutls_datum_t * y, gnutls_datum_t * x);
15
17 gnutls_openpgp_privkey_t pkey
18 Holds the certificate
19
20 gnutls_datum_t * p
21 will hold the p
22
23 gnutls_datum_t * q
24 will hold the q
25
26 gnutls_datum_t * g
27 will hold the g
28
29 gnutls_datum_t * y
30 will hold the y
31
32 gnutls_datum_t * x
33 will hold the x
34
36 This function will export the DSA private key's parameters found in the
37 given certificate. The new parameters will be allocated using
38 gnutls_malloc() and will be stored in the appropriate datum.
39
41 GNUTLS_E_SUCCESS on success, otherwise an error.
42
44 2.4.0
45
47 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
48 http://www.gnu.org/software/gnutls/ General help using GNU software:
49 http://www.gnu.org/gethelp/
50
52 Copyright © 2008 Free Software Foundation.
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright
55 notice and this notice are preserved.
56
58 The full documentation for gnutls is maintained as a Texinfo manual.
59 If the info and gnutls programs are properly installed at your site,
60 the command
61
62 info gnutls
63
64 should give you access to the complete manual.
65
66
67
68gnutls 2.g8n.u6tls_openpgp_privkey_export_dsa_raw(3)