Blame doc/manpages/gnutls_dh_params_export2_pkcs3.3

Packit 549fdc
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
Packit 549fdc
.TH "gnutls_dh_params_export2_pkcs3" 3 "3.6.2" "gnutls" "gnutls"
Packit 549fdc
.SH NAME
Packit 549fdc
gnutls_dh_params_export2_pkcs3 \- API function
Packit 549fdc
.SH SYNOPSIS
Packit 549fdc
.B #include <gnutls/gnutls.h>
Packit 549fdc
.sp
Packit 549fdc
.BI "int gnutls_dh_params_export2_pkcs3(gnutls_dh_params_t " params ", gnutls_x509_crt_fmt_t " format ", gnutls_datum_t * " out ");"
Packit 549fdc
.SH ARGUMENTS
Packit 549fdc
.IP "gnutls_dh_params_t params" 12
Packit 549fdc
Holds the DH parameters
Packit 549fdc
.IP "gnutls_x509_crt_fmt_t format" 12
Packit 549fdc
the format of output params. One of PEM or DER.
Packit 549fdc
.IP "gnutls_datum_t * out" 12
Packit 549fdc
will contain a PKCS3 DHParams structure PEM or DER encoded
Packit 549fdc
.SH "DESCRIPTION"
Packit 549fdc
This function will export the given dh parameters to a PKCS3
Packit 549fdc
DHParams structure. This is the format generated by "openssl dhparam" tool.
Packit 549fdc
The data in  \fIout\fP will be allocated using \fBgnutls_malloc()\fP.
Packit 549fdc
Packit 549fdc
If the structure is PEM encoded, it will have a header
Packit 549fdc
of "BEGIN DH PARAMETERS".
Packit 549fdc
.SH "RETURNS"
Packit 549fdc
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned,
Packit 549fdc
otherwise a negative error code is returned.
Packit 549fdc
.SH "SINCE"
Packit 549fdc
3.1.3
Packit 549fdc
.SH "REPORTING BUGS"
Packit 549fdc
Report bugs to <bugs@gnutls.org>.
Packit 549fdc
.br
Packit 549fdc
Home page: http://www.gnutls.org
Packit 549fdc
Packit 549fdc
.SH COPYRIGHT
Packit 549fdc
Copyright \(co 2001-2018 Free Software Foundation, Inc., and others.
Packit 549fdc
.br
Packit 549fdc
Copying and distribution of this file, with or without modification,
Packit 549fdc
are permitted in any medium without royalty provided the copyright
Packit 549fdc
notice and this notice are preserved.
Packit 549fdc
.SH "SEE ALSO"
Packit 549fdc
The full documentation for
Packit 549fdc
.B gnutls
Packit 549fdc
is maintained as a Texinfo manual.
Packit 549fdc
If the /usr/share/doc/gnutls/
Packit 549fdc
directory does not contain the HTML form visit
Packit 549fdc
.B
Packit 549fdc
.IP http://www.gnutls.org/manual/
Packit 549fdc
.PP