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