gnutls_x509_crt_get_issuer_alt_othername_oid
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_x509_crt_get_issuer_alt_othername_oid − API function
SYNOPSIS
#include <gnutls/x509.h>
int gnutls_x509_crt_get_issuer_alt_othername_oid(gnutls_x509_crt_t cert, unsigned int seq, void * ret, size_t * ret_size);
ARGUMENTS
gnutls_x509_crt_t cert
should contain a gnutls_x509_crt_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 otherName OID will be copied to |
size_t * ret_size
holds the size of ret.
DESCRIPTION
This function will extract the type OID of an otherName Subject Alternative Name, contained in the given certificate, and return the type as an enumerated element.
If oid is null then only the size will be filled. If the raw_flag is not specified the output is always null terminated, although the oid_size will not include the null character.
This function is only useful if gnutls_x509_crt_get_issuer_alt_name() returned GNUTLS_SAN_OTHERNAME.
RETURNS
the alternative issuer name type on success, one of the enumerated gnutls_x509_subject_alt_name_t. For supported OIDs, it will return one of the virtual (GNUTLS_SAN_OTHERNAME_*) types, e.g. GNUTLS_SAN_OTHERNAME_XMPP, and GNUTLS_SAN_OTHERNAME for unknown OIDs. 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 does not have an Alternative name with the specified sequence number and with the otherName type then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
SINCE
2.10.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/getmntent_r.3.html
getmntent_r(3) - get file system descriptor file entry......
These routines are used to access the filesystem description file /etc/fstab and the mounted filesystem description file /etc/mtab. The setmntent() function ope
manpages/gnutls_certificate_activation_time_peers.3.html
gnutls_certificate_activation_time_peers(3) - API function
This function will return the peers certificate activation time. This is the creation time for openpgp keys. RETURNS (time_t)-1 on error. DEPRECATED gnutls_cert
manpages/PerlIO::encoding.3pm.html
PerlIO::encoding(3pm) - encoding layer - Linux manual page
This PerlIO layer opens a filehandle with a transparent encoding filter. On input, it converts the bytes expected to be in the specified character set and encod
manpages/XtCreatePopupShell.3.html
XtCreatePopupShell(3) - create a popup shell (Man Page).....
The XtCreatePopupShell function ensures that the specified class is a subclass of Shell and, rather than using insert_child to attach the widget to the parents
manpages/lastb.1.html
lastb(1) - show listing of last logged in users (Man Page)
Last searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file w
manpages/XFindContext.3.html
XFindContext(3) - associative look-up routines (Man Page)...
If an entry with the specified resource ID and type already exists, XSaveContext overrides it with the specified context. The XSaveContext function returns a no
manpages/set_form_win.3form.html
set_form_win(3form) - make and break form window and subwind
Every form has an associated pair of curses windows. The form window displays any title and border associated with the window; the form subwindow displays the i
manpages/CPAN::Nox.3pm.html
CPAN::Nox(3pm) - Wrapper around CPAN.pm without using any XS
This package has the same functionality as CPAN .pm, but tries to prevent the usage of compiled extensions during its own execution. Its primary purpose is a re
manpages/enforce.8.html
enforce(8) set an AppArmor security profile to enforce mode
aa-enforce is used to set one or more profiles to enforce mode. This command is only relevant in conjunction with the aa-complain utility which sets a profile t
manpages/DBI::Profile.3pm.html
DBI::Profile(3pm) - Performance profiling and benchmarking f
The DBI::Profile module provides a simple interface to collect and report performance and benchmarking data from the DBI . For a more elaborate interface, suita
manpages/ec.1ssl.html
ec(1ssl) EC key processing (Commands - Linux manual page)...
The ec command processes EC keys. They can be converted between various forms and their components printed out. Note OpenSSL uses the private key format specifi
manpages/prefresh.3ncurses.html
prefresh(3ncurses) - create and display curses pads.........
The newpad routine creates and returns a pointer to a new pad data structure with the given number of lines, nlines, and columns, ncols. A pad is like a window,
