Sha256: 7c5b413f1ac52cea7e84f9ac1404abaafb2e5252442ddabada0dd3e6d4af6a50

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_dh_set_prime_bits" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_dh_set_prime_bits \- Used to set the bits for a DH ciphersuite
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "void gnutls_dh_set_prime_bits(gnutls_session_t " session ", unsigned int " bits ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "unsigned int bits" 12
is the number of bits
.SH "DESCRIPTION"
This function sets the number of bits, for use in an Diffie Hellman
key exchange.  This is used both in DH ephemeral and DH anonymous
cipher suites.  This will set the minimum size of the prime that
will be used for the handshake.

In the client side it sets the minimum accepted number of bits.  If
a server sends a prime with less bits than that
\fBGNUTLS_E_DH_PRIME_UNACCEPTABLE\fP will be returned by the handshake.
.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

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_dh_set_prime_bits.3