Sha256: 24728f6d7cae030e3033e1f6fc1463818e4ee42dcaa563be2dfe90921ca27751

Contents?: true

Size: 1.76 KB

Versions: 4

Compression:

Stored size: 1.76 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_crq_sign2" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_crq_sign2 \- Sign a Certificate request with a key
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_crq_sign2(gnutls_x509_crq_t " crq ", gnutls_x509_privkey_t " key ", gnutls_digest_algorithm_t " dig ", unsigned int " flags ");"
.SH ARGUMENTS
.IP "gnutls_x509_crq_t crq" 12
should contain a \fBgnutls_x509_crq_t\fP structure
.IP "gnutls_x509_privkey_t key" 12
holds a private key
.IP "gnutls_digest_algorithm_t dig" 12
The message digest to use, \fBGNUTLS_DIG_SHA1\fP is the safe choice unless you know what you're doing.
.IP "unsigned int flags" 12
must be 0
.SH "DESCRIPTION"
This function will sign the certificate request with a private key.
This must be the same key as the one used in
\fBgnutls_x509_crt_set_key()\fP since a certificate request is self
signed.

This must be the last step in a certificate request generation
since all the previously set parameters are now signed.
.SH "RETURNS"
\fBGNUTLS_E_SUCCESS\fP on success, otherwise an error.
\fBGNUTLS_E_ASN1_VALUE_NOT_FOUND\fP is returned if you didn't set all
information in the certificate request (e.g., the version using
\fBgnutls_x509_crq_set_version()\fP).
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crq_sign2.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crq_sign2.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crq_sign2.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crq_sign2.3