~ubuntu-branches/ubuntu/quantal/gnutls26/quantal-security

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_x509_crq_set_attribute_by_oid.3

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-05-20 13:07:18 UTC
  • mfrom: (12.1.11 sid)
  • Revision ID: james.westby@ubuntu.com-20110520130718-db41dybbanzfvlji
Tags: 2.10.5-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Fix build failure with --no-add-needed.
  - Build for multiarch.

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_crq_set_attribute_by_oid" 3 "2.8.6" "gnutls" "gnutls"
 
2
.TH "gnutls_x509_crq_set_attribute_by_oid" 3 "2.10.5" "gnutls" "gnutls"
3
3
.SH NAME
4
 
gnutls_x509_crq_set_attribute_by_oid \- This function will set an attribute in the request
 
4
gnutls_x509_crq_set_attribute_by_oid \- API function
5
5
.SH SYNOPSIS
6
6
.B #include <gnutls/x509.h>
7
7
.sp
8
8
.BI "int gnutls_x509_crq_set_attribute_by_oid(gnutls_x509_crq_t " crq ", const char * " oid ", void * " buf ", size_t " sizeof_buf ");"
9
9
.SH ARGUMENTS
10
10
.IP "gnutls_x509_crq_t crq" 12
11
 
should contain a gnutls_x509_crq_t structure
 
11
should contain a \fBgnutls_x509_crq_t\fP structure
12
12
.IP "const char * oid" 12
13
 
holds an Object Identified in null terminated string
 
13
holds an Object Identified in zero\-terminated string
14
14
.IP "void * buf" 12
15
15
a pointer to a structure that holds the attribute data
16
16
.IP "size_t sizeof_buf" 12
17
17
holds the size of \fIbuf\fP
18
18
.SH "DESCRIPTION"
19
 
This function will set the attribute in the certificate request specified
20
 
by the given Object ID. The attribute must be be DER encoded.
 
19
This function will set the attribute in the certificate request
 
20
specified by the given Object ID.  The attribute must be be DER
 
21
encoded.
21
22
.SH "RETURNS"
22
23
On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
23
24
negative error value.