gnutls_x509_crq_get_attribute_info



gnutls_x509_crq_get_attribute_info

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_x509_crq_get_attribute_info − API function

SYNOPSIS

#include <gnutls/x509.h>

int gnutls_x509_crq_get_attribute_info(gnutls_x509_crq_t crq, int indx, void * oid, size_t * sizeof_oid);

ARGUMENTS

gnutls_x509_crq_t crq

should contain a gnutls_x509_crq_t structure

int indx

Specifies which attribute 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.

DESCRIPTION

This function will return the requested attribute OID in the certificate, and the critical flag for it. The attribute OID will be stored as a string in the provided buffer. Use gnutls_x509_crq_get_attribute_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/pvresize.8.html
pvresize(8) - resize a disk or partition in use by LVM2.....
pvresize resizes PhysicalVolume which may already be in a volume group and have active logical volumes allocated on it. OPTIONS See lvm(8) for common options. -

manpages/FcPatternFilter.3.html
FcPatternFilter(3) - Filter the objects of pattern (ManPage)
Returns a new pattern that only has those objects from p that are in os. If os is NULL, a duplicate of p is returned. VERSION Fontconfig version 2.8.0 FcPattern

manpages/acl_init.3.html
acl_init(3) - initialize ACL working storage (Man Page).....
The acl_init() function allocates and initializes the working storage for an ACL of at least count ACL entries. The ACL created initially contains no ACL entrie

manpages/XIChangeProperty.3.html
XIChangeProperty(3) - change, retrieve or delete a device's
The XIGetProperty function returns the actual type of the property; the actual format of the property; the number of 8-bit, 16-bit, or 32-bit items transferred;

manpages/pnmscalefixed.1.html
pnmscalefixed(1) - scale a PNM file quickly - Linux man page
This program is part of Netpbm(1) pnmscalefixed is like pamscale except that it uses fixed point arithmetic internally instead of floating point, which may make

manpages/SDL_LoadWAV.3.html
SDL_LoadWAV(3) - Load a WAVE file - Linux manual page.......
SDL_LoadWAV This function loads a WAVE file into memory. If this function succeeds, it returns the given SDL_AudioSpec, filled with the audio data format of the

manpages/XIWarpPointer.3.html
XIWarpPointer(3) - move a device's pointer - Linux man page
If dest_w is None, XIWarpPointer moves the pointer by the offsets (dest_x, dest_y) relative to the current position of the pointer. If dest_w is a window, XIWar

manpages/ps.1.html
ps(1) - report a snapshot of the current processes..........
ps displays information about a selection of the active processes. If you want a repetitive update of the selection and the displayed information, use top(1) in

manpages/XkbChangeMap.3.html
XkbChangeMap(3) - Update only partial components of a keyboa
To update only partial components of a keyboard description, modify the appropriate fields in the server and map components of a local copy of the keyboard desc

manpages/xzmore.1.html
xzmore(1) - view xz or lzma compressed (text) files.........
xzmore is a filter which allows examination of xz(1) or lzma(1) compressed text files one screenful at a time on a soft-copy terminal. To use a pager other than

manpages/latin1.7.html
latin1(7) - ISO 8859-1 character set encoded in octal, decim
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). Especially important is ISO 8859-1, the Latin Al

manpages/Tcl_ParseExpr.3.html
Tcl_ParseExpr(3) - parse Tcl scripts and expressions........
These procedures parse Tcl commands or portions of Tcl commands such as expressions or references to variables. Each procedure takes a pointer to a script (or p





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