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 - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_pk_dsa_raw(gnutls_x509_crt_t crt, gnutls_da‐
12 tum_t * p, gnutls_datum_t * q, gnutls_datum_t * g, gnutls_datum_t * y);
13
15 gnutls_x509_crt_t crt
16 Holds the certificate
17
18 gnutls_datum_t * p
19 will hold the p
20
21 gnutls_datum_t * q
22 will hold the q
23
24 gnutls_datum_t * g
25 will hold the g
26
27 gnutls_datum_t * y
28 will hold the y
29
31 This function will export the DSA public key's parameters found in the
32 given certificate. The new parameters will be allocated using
33 gnutls_malloc() and will be stored in the appropriate datum.
34
36 GNUTLS_E_SUCCESS on success, otherwise a negative error code.
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: https://www.gnutls.org
41
42
44 Copyright © 2001- Free Software Foundation, Inc., and others.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright no‐
47 tice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 https://www.gnutls.org/manual/
55
56gnutls 3.7.2 gnutls_x509_crt_get_pk_dsa_raw(3)