Sha256: e3b9b44a6d378cec305dd88ec19e2a26eb13b4d26e44abb9b14936d4cf4686a3

Contents?: true

Size: 1.43 KB

Versions: 4

Compression:

Stored size: 1.43 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_crt_get_pk_algorithm" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_crt_get_pk_algorithm \- return the certificate's PublicKey algorithm
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_crt_get_pk_algorithm(gnutls_x509_crt_t " cert ", unsigned int * " bits ");"
.SH ARGUMENTS
.IP "gnutls_x509_crt_t cert" 12
should contain a \fBgnutls_x509_crt_t\fP structure
.IP "unsigned int * bits" 12
if bits is non null it will hold the size of the parameters' in bits
.SH "DESCRIPTION"
This function will return the public key algorithm of an X.509 
certificate.

If bits is non null, it should have enough size to hold the parameters
size in bits. For RSA the bits returned is the modulus. 
For DSA the bits returned are of the public
exponent.
.SH "RETURNS"
a member of the \fBgnutls_pk_algorithm_t\fP enumeration on
success, or a negative value on error.
.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_crt_get_pk_algorithm.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_pk_algorithm.3