Sha256: 527aa231fb6ab7fee71886dae69d0860439ebd89f10ebca9c7fb34b9a3d3fd9c
Contents?: true
Size: 1.37 KB
Versions: 4
Compression:
Stored size: 1.37 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_x509_privkey_generate" 3 "2.4.2" "gnutls" "gnutls" .SH NAME gnutls_x509_privkey_generate \- generate a private key .SH SYNOPSIS .B #include <gnutls/x509.h> .sp .BI "int gnutls_x509_privkey_generate(gnutls_x509_privkey_t " key ", gnutls_pk_algorithm_t " algo ", unsigned int " bits ", unsigned int " flags ");" .SH ARGUMENTS .IP "gnutls_x509_privkey_t key" 12 should contain a \fBgnutls_x509_privkey_t\fP structure .IP "gnutls_pk_algorithm_t algo" 12 is one of RSA or DSA. .IP "unsigned int bits" 12 the size of the modulus .IP "unsigned int flags" 12 unused for now. Must be 0. .SH "DESCRIPTION" This function will generate a random private key. Note that this function must be called on an empty private key. .SH "RETURNS" On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a negative error value. .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