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 - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_privkey_export_sub‐
12 key_dsa_raw(gnutls_openpgp_privkey_t pkey, unsigned int idx,
13 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 unsigned int idx
21 Is the subkey index
22
23 gnutls_datum_t * p
24 will hold the p
25
26 gnutls_datum_t * q
27 will hold the q
28
29 gnutls_datum_t * g
30 will hold the g
31
32 gnutls_datum_t * y
33 will hold the y
34
35 gnutls_datum_t * x
36 will hold the x
37
39 This function will export the DSA private key's parameters found in the
40 given certificate. The new parameters will be allocated using
41 gnutls_malloc() and will be stored in the appropriate datum.
42
44 GNUTLS_E_SUCCESS on success, otherwise a negative error code.
45
47 2.4.0
48
50 Report bugs to <bugs@gnutls.org>.
51 Home page: http://www.gnutls.org
52
53
55 Copyright © 2001-2014 Free Software Foundation, Inc..
56 Copying and distribution of this file, with or without modification,
57 are permitted in any medium without royalty provided the copyright
58 notice and this notice are preserved.
59
61 The full documentation for gnutls is maintained as a Texinfo manual.
62 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
63 visit
64
65 http://www.gnutls.org/manual/
66
67gnutls gnutl3s._3o.p2e9npgp_privkey_export_subkey_dsa_raw(3)