~ubuntu-branches/ubuntu/quantal/gnutls28/quantal

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_pkcs7_get_crt_raw.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-12-17 11:41:19 UTC
  • mfrom: (10.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20111217114119-sp3ixi00tjajm52g
Tags: 3.0.9-2
* [20_test-select.diff] Do not run gnulib test-select test anymore. The
  test fails on kfreebsd-i386, the gnutls library does not use select().
* [30_correctly-set-the-odd-bits.patch] Post release fix from GIT head.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
 
2
.TH "gnutls_pkcs7_get_crt_raw" 3 "3.0.9" "gnutls" "gnutls"
 
3
.SH NAME
 
4
gnutls_pkcs7_get_crt_raw \- API function
 
5
.SH SYNOPSIS
 
6
.B #include <gnutls/x509.h>
 
7
.sp
 
8
.BI "int gnutls_pkcs7_get_crt_raw(gnutls_pkcs7_t " pkcs7 ", int " indx ", void * " certificate ", size_t * " certificate_size ");"
 
9
.SH ARGUMENTS
 
10
.IP "gnutls_pkcs7_t pkcs7" 12
 
11
should contain a gnutls_pkcs7_t structure
 
12
.IP "int indx" 12
 
13
contains the index of the certificate to extract
 
14
.IP "void * certificate" 12
 
15
the contents of the certificate will be copied
 
16
there (may be null)
 
17
.IP "size_t * certificate_size" 12
 
18
should hold the size of the certificate
 
19
.SH "DESCRIPTION"
 
20
This function will return a certificate of the PKCS7 or RFC2630
 
21
certificate set.
 
22
 
 
23
After the last certificate has been read
 
24
\fBGNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE\fP will be returned.
 
25
.SH "RETURNS"
 
26
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a
 
27
negative error value.  If the provided buffer is not long enough,
 
28
then  \fIcertificate_size\fPis updated and
 
29
\fBGNUTLS_E_SHORT_MEMORY_BUFFER\fP is returned.
 
30
.SH "REPORTING BUGS"
 
31
Report bugs to <bug-gnutls@gnu.org>.
 
32
GnuTLS home page: http://www.gnu.org/software/gnutls/
 
33
General help using GNU software: http://www.gnu.org/gethelp/
 
34
.SH COPYRIGHT
 
35
Copyright \(co 2011 Free Software Foundation.
 
36
.br
 
37
Copying and distribution of this file, with or without modification,
 
38
are permitted in any medium without royalty provided the copyright
 
39
notice and this notice are preserved.
 
40
.SH "SEE ALSO"
 
41
The full documentation for
 
42
.B gnutls
 
43
is maintained as a Texinfo manual.  If the
 
44
.B info
 
45
and
 
46
.B gnutls
 
47
programs are properly installed at your site, the command
 
48
.IP
 
49
.B info gnutls
 
50
.PP
 
51
should give you access to the complete manual.