~ubuntu-branches/ubuntu/precise/gnutls28/precise

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_x509_crt_get_fingerprint.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-09-20 19:37:06 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20110920193706-a9phjijvddzg3nkl
Tags: 3.0.3-1
* New upstream version. (Includes a fix for #640639)
* Bump shlibs.

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_x509_crt_get_fingerprint" 3 "3.0.1" "gnutls" "gnutls"
 
2
.TH "gnutls_x509_crt_get_fingerprint" 3 "3.0.2" "gnutls" "gnutls"
3
3
.SH NAME
4
4
gnutls_x509_crt_get_fingerprint \- API function
5
5
.SH SYNOPSIS
6
6
.B #include <gnutls/x509.h>
7
7
.sp
8
 
.BI "int gnutls_x509_crt_get_fingerprint(gnutls_x509_crt_t " cert ", gnutls_digest_algorithm_t " algo ", void * " buf ", size_t * " sizeof_buf ");"
 
8
.BI "int gnutls_x509_crt_get_fingerprint(gnutls_x509_crt_t " cert ", gnutls_digest_algorithm_t " algo ", void * " buf ", size_t * " buf_size ");"
9
9
.SH ARGUMENTS
10
10
.IP "gnutls_x509_crt_t cert" 12
11
11
should contain a \fBgnutls_x509_crt_t\fP structure
13
13
is a digest algorithm
14
14
.IP "void * buf" 12
15
15
a pointer to a structure to hold the fingerprint (may be null)
16
 
.IP "size_t * sizeof_buf" 12
 
16
.IP "size_t * buf_size" 12
17
17
initially holds the size of \fIbuf\fP
18
18
.SH "DESCRIPTION"
19
19
This function will calculate and copy the certificate's fingerprint
22
22
If the buffer is null then only the size will be filled.
23
23
.SH "RETURNS"
24
24
\fBGNUTLS_E_SHORT_MEMORY_BUFFER\fP if the provided buffer is
25
 
not long enough, and in that case the *sizeof_buf will be updated
 
25
not long enough, and in that case the *buf_size will be updated
26
26
with the required size.  On success 0 is returned.
27
27
.SH "REPORTING BUGS"
28
28
Report bugs to <bug-gnutls@gnu.org>.