1gnutls_x509_crt_get_pk_dsa_raw(3) gnutls gnutls_x509_crt_get_pk_dsa_raw(3)
2
3
4
6 gnutls_x509_crt_get_pk_dsa_raw - This function will export the DSA pri‐
7 vate key
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt,
13 gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * g,
14 gnutls_datum_t * y);
15
17 gnutls_x509_crt_t crt
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
33 This function will export the DSA private key's parameters found in the
34 given certificate. The new parameters will be allocated using
35 gnutls_malloc() and will be stored in the appropriate datum.
36
38 Report bugs to <bug-gnutls@gnu.org>.
39
41 Copyright © 2006 Free Software Foundation.
42 Permission is granted to make and distribute verbatim copies of this
43 manual provided the copyright notice and this permission notice are
44 preserved on all copies.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 1.6.3 gnutls_x509_crt_get_pk_dsa_raw(3)