Sha256: df3c926e1cb2d00d62eca35d7283909f7ad65a9780ccd4074fdfd0b4054affda
Contents?: true
Size: 1.48 KB
Versions: 4
Compression:
Stored size: 1.48 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_dh_params_generate2" 3 "2.4.2" "gnutls" "gnutls" .SH NAME gnutls_dh_params_generate2 \- generate new DH parameters .SH SYNOPSIS .B #include <gnutls/gnutls.h> .sp .BI "int gnutls_dh_params_generate2(gnutls_dh_params_t " params ", unsigned int " bits ");" .SH ARGUMENTS .IP "gnutls_dh_params_t params" 12 Is the structure that the DH parameters will be stored .IP "unsigned int bits" 12 is the prime's number of bits .SH "DESCRIPTION" This function will generate a new pair of prime and generator for use in the Diffie\-Hellman key exchange. The new parameters will be allocated using \fBgnutls_malloc()\fP and will be stored in the appropriate datum. This function is normally slow. Note that the bits value should be one of 768, 1024, 2048, 3072 or 4096. Also note that the DH parameters are only useful to servers. Since clients use the parameters sent by the server, it's of no use to call this in client side. .SH "REPORTING BUGS" Report bugs to <bug-gnutls@gnu.org>. .SH COPYRIGHT Copyright \(co 2008 Free Software Foundation. .br Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the .B info and .B gnutls programs are properly installed at your site, the command .IP .B info gnutls .PP should give you access to the complete manual.
Version data entries
4 entries across 4 versions & 1 rubygems