Sha256: 6696e13673a97a3fb9d189af3b3dd0b364678ad952f2c98efed38d374cba8924
Contents?: true
Size: 1.79 KB
Versions: 4
Compression:
Stored size: 1.79 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_x509_crt_get_key_usage" 3 "2.4.2" "gnutls" "gnutls" .SH NAME gnutls_x509_crt_get_key_usage \- return the certificate's key usage .SH SYNOPSIS .B #include <gnutls/x509.h> .sp .BI "int gnutls_x509_crt_get_key_usage(gnutls_x509_crt_t " cert ", unsigned int * " key_usage ", unsigned int * " critical ");" .SH ARGUMENTS .IP "gnutls_x509_crt_t cert" 12 should contain a \fBgnutls_x509_crt_t\fP structure .IP "unsigned int * key_usage" 12 where the key usage bits will be stored .IP "unsigned int * critical" 12 will be non zero if the extension is marked as critical .SH "DESCRIPTION" This function will return certificate's key usage, by reading the keyUsage X.509 extension (2.5.29.15). The key usage value will .SH "ORED VALUES OF THE" \fBGNUTLS_KEY_DIGITAL_SIGNATURE\fP, \fBGNUTLS_KEY_NON_REPUDIATION\fP, \fBGNUTLS_KEY_KEY_ENCIPHERMENT\fP, \fBGNUTLS_KEY_DATA_ENCIPHERMENT\fP, \fBGNUTLS_KEY_KEY_AGREEMENT\fP, \fBGNUTLS_KEY_KEY_CERT_SIGN\fP, \fBGNUTLS_KEY_CRL_SIGN\fP, \fBGNUTLS_KEY_ENCIPHER_ONLY\fP, \fBGNUTLS_KEY_DECIPHER_ONLY\fP. .SH "RETURNS" the certificate key usage, or a negative value in case of parsing error. If the certificate does not contain the keyUsage extension \fBGNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE\fP will be returned. .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