gnutls_x509_crq_get_extension_info



gnutls_x509_crq_get_extension_info

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_x509_crq_get_extension_info − API function

SYNOPSIS

#include <gnutls/x509.h>

int gnutls_x509_crq_get_extension_info(gnutls_x509_crq_t crq, int indx, void * oid, size_t * sizeof_oid, unsigned int * critical);

ARGUMENTS

gnutls_x509_crq_t crq

should contain a gnutls_x509_crq_t structure

int indx

Specifies which extension OID to send. Use (0) to get the first one.

void * oid

a pointer to a structure to hold the OID

size_t * sizeof_oid

initially holds the maximum size of oid, on return holds actual size of oid.

unsigned int * critical

output variable with critical flag, may be NULL.

DESCRIPTION

This function will return the requested extension OID in the certificate, and the critical flag for it. The extension OID will be stored as a string in the provided buffer. Use gnutls_x509_crq_get_extension_data() to extract the data.

If the buffer provided is not long enough to hold the output, then *sizeof_oid is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.

RETURNS

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code in case of an error. If your have reached the last extension available GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.

SINCE

2.8.0

REPORTING BUGS

Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

COPYRIGHT

Copyright © 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

SEE ALSO

The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command

info gnutls

should give you access to the complete manual.



More Linux Commands

manpages/iptables-save.8.html
iptables-save(8) - dump iptables rules to stdout (Man Page)
iptables-save and ip6tables-save are used to dump the contents of IP or IPv6 Table in easily parseable format to STDOUT. Use I/O-redirection provided by your sh

manpages/setcontext.3.html
setcontext(3) get or set the user context - Linux man page
In a System V-like environment, one has the two types mcontext_t and ucontext_t defined in &lt;ucontext.h&gt; and the four functions getcontext(), setcontext(), makec

manpages/streqvmap.3.html
streqvmap(3) Set the character mappings for the streqv funct
Set the character mapping. If the count (ct) is set to zero, then the map is cleared by setting all entries in the map to their index value. Otherwise, the From

manpages/in_wch.3ncurses.html
in_wch(3ncurses) - extract a complex character and rendition
in_wch.3ncurses - These functions extract the complex character and rendition from the current position in the named window into the cchar_t object referenced b

manpages/after.n.html
after(n) - Execute a command after a time delay (Man Page)
This command is used to delay execution of the program or to execute a command in background sometime in the future. It has several forms, depending on the firs

manpages/rtacct.8.html
rtacct(8) - network statistics tools. - Linux manual page...
nstat and rtacct are simple tools to monitor kernel snmp counters and network interface statistics. OPTIONS -h, --help Print help -V, --version Print version -z

manpages/bgerror.n.html
bgerror(n) - Command invoked to process background errors...
Release 8.5 of Tcl supports the interp bgerror command, which allows applications to register in an interpreter the command that will handle background errors i

manpages/rsyslogd.8.html
rsyslogd(8) - reliable and extended syslogd - Linux man page
Rsyslogd is a system utility providing support for message logging. Support of both internet and unix domain sockets enables this utility to support both local

manpages/getopt_long.3.html
getopt_long(3) - Parse command-line options - Linux man page
The getopt() function parses the command-line arguments. Its arguments argc and argv are the argument count and array as passed to the main() function on progra

manpages/getwchar_unlocked.3.html
getwchar_unlocked(3) - nonlocking stdio functions (ManPage)
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse

manpages/Encode::CN.3pm.html
Encode::CN(3pm) - China-based Chinese Encodings (Man Page)
This module implements China-based Chinese charset encodings. Encodings supported are as follows. Canonical Alias Description ----------------------------------

manpages/usermod.8.html
usermod(8) - modify a user account - Linux manual page......
The usermod command modifies the system account files to reflect the changes that are specified on the command line. OPTIONS The options which apply to the user





We can't live, work or learn in freedom unless the software we use is free.