~ubuntu-branches/ubuntu/lucid/gnutls26/lucid-proposed

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_dh_get_pubkey.3

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2008-06-24 19:13:25 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080624191325-33rewwn0p11jzdvq
Tags: 2.4.0-2
* Standards version 3.8.0. Rename README.source_and_patches to README.source.
* Upload to unstable.
* Point watchfile to stable releases again.
* Merge experimental and unstable changelog.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2
 
.TH "gnutls_dh_get_pubkey" 3 "2.2.5" "gnutls" "gnutls"
 
2
.TH "gnutls_dh_get_pubkey" 3 "2.4.0" "gnutls" "gnutls"
3
3
.SH NAME
4
 
gnutls_dh_get_pubkey \- This function returns the peer's public key used in DH authentication
 
4
gnutls_dh_get_pubkey \- return the peer's public key used in DH authentication
5
5
.SH SYNOPSIS
6
6
.B #include <gnutls/gnutls.h>
7
7
.sp
12
12
.IP "gnutls_datum_t * raw_key" 12
13
13
will hold the public key.
14
14
.SH "DESCRIPTION"
15
 
This function will return the peer's public key used in the last Diffie Hellman authentication.
16
 
This function should be used for both anonymous and ephemeral diffie Hellman.
17
 
The output parameters must be freed with \fBgnutls_free()\fP.
18
 
 
19
 
Returns a negative value in case of an error.
 
15
This function will return the peer's public key used in the last
 
16
Diffie Hellman authentication.  This function should be used for
 
17
both anonymous and ephemeral diffie Hellman.  The output
 
18
parameters must be freed with \fBgnutls_free()\fP.
 
19
.SH "RETURNS"
 
20
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise
 
21
an error code is returned.
20
22
.SH "REPORTING BUGS"
21
23
Report bugs to <bug-gnutls@gnu.org>.
22
24
.SH COPYRIGHT
23
 
Copyright \(co 2006, 2007 Free Software Foundation.
 
25
Copyright \(co 2008 Free Software Foundation.
24
26
.br
25
27
Permission is granted to make and distribute verbatim copies of this
26
28
manual provided the copyright notice and this permission notice are