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

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_pubkey_set_key_usage.3

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-11-12 17:05:25 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20111112170525-kja1ffsqi68s1kwk
Tags: 3.0.8-1
* Build gnutls with --disable-largefile on armel, armhf and mipsel to fix
  guile related FTBFS on these architectures.
  See http://lists.gnu.org/archive/html/gnutls-devel/2011-10/msg00075.html
* New upstream version.
  + Bump shlibs.

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_pubkey_set_key_usage" 3 "3.0.3" "gnutls" "gnutls"
3
 
.SH NAME
4
 
gnutls_pubkey_set_key_usage \- API function
5
 
.SH SYNOPSIS
6
 
.B #include <gnutls/gnutls.h>
7
 
.sp
8
 
.BI "int gnutls_pubkey_set_key_usage(gnutls_pubkey_t " key ", unsigned int " usage ");"
9
 
.SH ARGUMENTS
10
 
.IP "gnutls_pubkey_t key" 12
11
 
a certificate of type \fBgnutls_x509_crt_t\fP
12
 
.IP "unsigned int usage" 12
13
 
an ORed sequence of the GNUTLS_KEY_* elements.
14
 
.SH "DESCRIPTION"
15
 
This function will set the key usage flags of the public key. This
16
 
is only useful if the key is to be exported to a certificate or
17
 
certificate request.
18
 
.SH "RETURNS"
19
 
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a
20
 
negative error value.
21
 
.SH "SINCE"
22
 
2.12.0
23
 
.SH "REPORTING BUGS"
24
 
Report bugs to <bug-gnutls@gnu.org>.
25
 
GnuTLS home page: http://www.gnu.org/software/gnutls/
26
 
General help using GNU software: http://www.gnu.org/gethelp/
27
 
.SH COPYRIGHT
28
 
Copyright \(co 2008 Free Software Foundation.
29
 
.br
30
 
Copying and distribution of this file, with or without modification,
31
 
are permitted in any medium without royalty provided the copyright
32
 
notice and this notice are preserved.
33
 
.SH "SEE ALSO"
34
 
The full documentation for
35
 
.B gnutls
36
 
is maintained as a Texinfo manual.  If the
37
 
.B info
38
 
and
39
 
.B gnutls
40
 
programs are properly installed at your site, the command
41
 
.IP
42
 
.B info gnutls
43
 
.PP
44
 
should give you access to the complete manual.