Sha256: 99c400fe6b4818f4c7581fd04522a39b38a80c1f6740d6c81381640d0bd57105
Contents?: true
Size: 1.74 KB
Versions: 7
Compression:
Stored size: 1.74 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_dh_set_prime_bits" 3 "3.1.4" "gnutls" "gnutls" .SH NAME gnutls_dh_set_prime_bits \- API function .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 a 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. Note that values lower than 512 bits may allow decryption of the exchanged data. This function has no effect in server side. .SH "REPORTING BUGS" Report bugs to <bug-gnutls@gnu.org>. .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GnuTLS home page: http://www.gnu.org/software/gnutls/ .SH COPYRIGHT Copyright \(co 2012 Free Software Foundation, Inc.. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .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. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gnutls/manual/ .PP
Version data entries
7 entries across 7 versions & 1 rubygems