1
by Andreas Metzler
Import upstream version 2.2.3~rc |
1 |
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. |
1.2.6
by Andreas Metzler
Import upstream version 2.8.6 |
2 |
.TH "gnutls_dh_get_pubkey" 3 "2.8.6" "gnutls" "gnutls" |
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
3 |
.SH NAME |
1.1.2
by Andreas Metzler
Import upstream version 2.4.0 |
4 |
gnutls_dh_get_pubkey \- return the peer's public key used in DH authentication
|
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
5 |
.SH SYNOPSIS |
6 |
.B #include <gnutls/gnutls.h> |
|
7 |
.sp
|
|
8 |
.BI "int gnutls_dh_get_pubkey(gnutls_session_t " session ", gnutls_datum_t * " raw_key ");" |
|
9 |
.SH ARGUMENTS |
|
10 |
.IP "gnutls_session_t session" 12 |
|
11 |
is a gnutls session |
|
12 |
.IP "gnutls_datum_t * raw_key" 12 |
|
13 |
will hold the public key. |
|
14 |
.SH "DESCRIPTION" |
|
1.1.2
by Andreas Metzler
Import upstream version 2.4.0 |
15 |
This function will return the peer's public key used in the last |
1.2.2
by Andreas Metzler
Import upstream version 2.8.1 |
16 |
Diffie\-Hellman authentication. This function should be used for
|
17 |
both anonymous and ephemeral Diffie\-Hellman. The output parameters
|
|
18 |
must be freed with \fBgnutls_free()\fP. |
|
1.1.2
by Andreas Metzler
Import upstream version 2.4.0 |
19 |
.SH "RETURNS" |
20 |
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise |
|
21 |
an error code is returned. |
|
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
22 |
.SH "REPORTING BUGS" |
23 |
Report bugs to <bug-gnutls@gnu.org>. |
|
1.2.2
by Andreas Metzler
Import upstream version 2.8.1 |
24 |
GnuTLS home page: http://www.gnu.org/software/gnutls/ |
25 |
General help using GNU software: http://www.gnu.org/gethelp/ |
|
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
26 |
.SH COPYRIGHT |
1.1.2
by Andreas Metzler
Import upstream version 2.4.0 |
27 |
Copyright \(co 2008 Free Software Foundation.
|
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
28 |
.br
|
1.2.2
by Andreas Metzler
Import upstream version 2.8.1 |
29 |
Copying and distribution of this file, with or without modification, |
30 |
are permitted in any medium without royalty provided the copyright |
|
31 |
notice and this notice are preserved. |
|
1
by Andreas Metzler
Import upstream version 2.2.3~rc |
32 |
.SH "SEE ALSO" |
33 |
The full documentation for |
|
34 |
.B gnutls |
|
35 |
is maintained as a Texinfo manual. If the |
|
36 |
.B info |
|
37 |
and |
|
38 |
.B gnutls |
|
39 |
programs are properly installed at your site, the command |
|
40 |
.IP
|
|
41 |
.B info gnutls |
|
42 |
.PP
|
|
43 |
should give you access to the complete manual. |