~ubuntu-branches/ubuntu/gutsy/gnutls13/gutsy-proposed

« back to all changes in this revision

Viewing changes to doc/manpages/gnutls_x509_crq_get_dn.3

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Metzler
  • Date: 2006-11-11 10:35:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061111103529-0apz2q4w35cgjynh
Tags: 1.4.4-3
Pulled /patches/18_negotiate_cypher.diff from 1.4.5:
When a GnuTLS server receive a SSLv2 Client Hello for an unknown TLS
version, try to negotiate the highest version support by the GnuTLS
server, instead of the lowest.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TH "gnutls_x509_crq_get_dn" 3 "1.4.0" "gnutls" "gnutls"
 
1
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
 
2
.TH "gnutls_x509_crq_get_dn" 3 "1.4.4" "gnutls" "gnutls"
2
3
.SH NAME
3
 
gnutls_x509_crq_get_dn
 
4
gnutls_x509_crq_get_dn \- This function returns the Certificate request subject's distinguished name
4
5
.SH SYNOPSIS
5
6
.B #include <gnutls/x509.h>
6
7
.sp
11
12
.IP "char * buf" 12
12
13
a pointer to a structure to hold the name (may be null)
13
14
.IP "size_t * sizeof_buf" 12
14
 
initially holds the size of 
15
 
.I "buf"
 
15
initially holds the size of \fIbuf\fP
16
16
.SH "DESCRIPTION"
17
17
This function will copy the name of the Certificate request
18
18
subject in the provided buffer. The name will be in the form
19
19
"C=xxxx,O=yyyy,CN=zzzz" as described in RFC2253. The output string
20
 
will be ASCII or UTF-8 encoded, depending on the certificate data.
 
20
will be ASCII or UTF\-8 encoded, depending on the certificate data.
21
21
 
22
 
If 
23
 
.I "buf "
24
 
is null then only the size will be filled.
 
22
If \fIbuf\fP is null then only the size will be filled.
25
23
 
26
24
Returns GNUTLS_E_SHORT_MEMORY_BUFFER if the provided buffer is not
27
25
long enough, and in that case the *sizeof_buf will be updated with