gnutls_x509_crq_get_subject_alt_name
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_x509_crq_get_subject_alt_name − API function
SYNOPSIS
#include <gnutls/x509.h>
int gnutls_x509_crq_get_subject_alt_name(gnutls_x509_crq_t crq, unsigned int seq, void * ret, size_t * ret_size, unsigned int * ret_type, unsigned int * critical);
ARGUMENTS
gnutls_x509_crq_t crq
should contain a gnutls_x509_crq_t structure
unsigned int seq
specifies the sequence number of the alt name, 0 for the first one, 1 for the second etc.
void * ret |
is the place where the alternative name will be copied to |
size_t * ret_size
holds the size of ret.
unsigned int * ret_type
holds the gnutls_x509_subject_alt_name_t name type
unsigned int * critical
will be non (0) if the extension is marked as critical (may be null)
DESCRIPTION
This function will return the alternative names, contained in the given certificate. It is the same as gnutls_x509_crq_get_subject_alt_name() except for the fact that it will return the type of the alternative name in ret_type even if the function fails for some reason (i.e. the buffer provided is not enough).
RETURNS
the alternative subject name type on success, one of the enumerated gnutls_x509_subject_alt_name_t. It will return GNUTLS_E_SHORT_MEMORY_BUFFER if ret_size is not large enough to hold the value. In that case ret_size will be updated with the required size. If the certificate request does not have an Alternative name with the specified sequence number then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is 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/Tk_FreeOptions.3.html
Tk_FreeOptions(3) - process configuration options for widget
Note: Tk_ConfigureWidget should be replaced with the new Tcl_Obj based API Tk_SetOptions. The old interface is retained for backward compatibility. Tk_Configure
manpages/xdr_pmap.3.html
xdr_pmap(3) - library routines for remote procedure calls...
These routines allow C programs to make procedure calls on other machines across the network. First, the client calls a procedure to send a data packet to the s
manpages/TAP::Parser::Result.3pm.html
TAP::Parser::Result(3pm) - Base class for TAP::Parser output
This is a simple base class used by TAP::Parser to store objects that represent the current bit of test output data from TAP (usually a single line). Unless you
manpages/pthread_cleanup_pop.3.html
pthread_cleanup_pop(3) - push and pop thread cancellation cl
These functions manipulate the calling threads stack of thread-cancellation clean-up handlers. A clean-up handler is a function that is automatically executed w
manpages/vfs_netatalk.8.html
vfs_netatalk(8) - hide (Administration - Linux man page)....
This VFS module is part of the samba(7) suite. The vfs_netatalk VFS module dynamically hides .AppleDouble files, preventing spurious errors on some CIFS clients
manpages/gnutls_srp_allocate_server_credentials.3.html
gnutls_srp_allocate_server_credentials(3) - API function....
gnutls_srp_allocate_server_credentials.3 - This structure is complex enough to manipulate directly thus this helper function is provided in order to allocate it
manpages/Tcl_Free.3.html
Tcl_Free(3) - allocate or free heap memory - Linux man page
These procedures provide a platform and compiler independent interface for memory allocation. Programs that need to transfer ownership of memory blocks between
manpages/XcmsSetCCCOfColormap.3.html
XcmsSetCCCOfColormap(3) - query and modify CCC of a colormap
The XcmsCCCOfColormap function returns the CCC associated with the specified colormap. Once obtained, the CCC attributes can be queried or modified. Unless the
manpages/glob.3.html
glob(3) - find pathnames matching a pattern, free memory fro
The glob() function searches for all the pathnames matching pattern according to the rules used by the shell (see glob(7)). No tilde expansion or parameter subs
manpages/App::Prove::State::Result.3pm.html
App::Prove::State::Result(3pm) - Individual test suite resul
The prove command supports a --state option that instructs it to store persistent state across runs. This module encapsulates the results for a single test suit
manpages/capinfos.1.html
capinfos(1) - Prints information about capture files........
Capinfos is a program that reads one or more capture files and returns some or all available statistics (infos) of each <infile> in one of two types of output f
manpages/CPANPLUS::Module::Author.3pm.html
CPANPLUS::Module::Author(3pm) - (unknown subject) (ManPage)
CPANPLUS::Module::Author creates objects from the information in the source files. These can then be used to query on. These objects should only be created inte
