gnutls_x509_crt_set_proxy_dn



gnutls_x509_crt_set_proxy_dn

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_x509_crt_set_proxy_dn − API function

SYNOPSIS

#include <gnutls/x509.h>

int gnutls_x509_crt_set_proxy_dn(gnutls_x509_crt_t crt, gnutls_x509_crt_t eecrt, unsigned int raw_flag, const void * name, unsigned int sizeof_name);

ARGUMENTS

gnutls_x509_crt_t crt

a gnutls_x509_crt_t structure with the new proxy cert

gnutls_x509_crt_t eecrt

the end entity certificate that will be issuing the proxy

unsigned int raw_flag

must be 0, or 1 if the CN is DER encoded

const void * name

a pointer to the CN name, may be NULL (but MUST then be added later)

unsigned int sizeof_name

holds the size of name

DESCRIPTION

This function will set the subject in crt to the end entity’s eecrt subject name, and add a single Common Name component name of size sizeof_name. This corresponds to the required proxy certificate naming style. Note that if name is NULL, you MUST set it later by using gnutls_x509_crt_set_dn_by_oid() or similar.

RETURNS

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.

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/glGetMinmax.3gl.html
glGetMinmax(3gl) - get minimum and maximum pixel values.....
glGetMinmax returns the accumulated minimum and maximum pixel values (computed on a per-component basis) in a one-dimensional image of width 2. The first set of

manpages/mkdirhier.1.html
mkdirhier(1) - makes a directory hierarchy - Linux man page
The mkdirhier command creates the specified directories. Unlike mkdir if any of the parent directories of the specified directory do not exist, it creates them

manpages/COLS.3ncurses.html
COLS(3ncurses) - curses global variables - Linux man page...
This page summarizes variables provided by the curses library. A more complete description is given in the curses(3X) manual page. Depending on the configuratio

manpages/offsetof.3.html
offsetof(3) - offset of a structure member - Linux man page
The macro offsetof() returns the offset of the field member from the start of the structure type. This macro is useful because the sizes of the fields that comp

manpages/memccpy.3.html
memccpy(3) - copy memory area (Library - Linux man page)....
The memccpy() function copies no more than n bytes from memory area src to memory area dest, stopping when the character c is found. If the memory areas overlap

manpages/login.1.html
login(1) - Begin session on the system - Linux manual page
login is used when signing onto a system. If no argument is given, login prompts for the username. The user is then prompted for a password, where approprate. E

manpages/locale.conf.5.html
locale.conf(5) - configuration file for locale settings.....
The /etc/locale.conf file configures system-wide locale settings. It is read at early-boot by systemd(1). The basic file format of locale.conf is a newline-sepa

manpages/io_destroy.2.html
io_destroy(2) - destroy an asynchronous I/O context.........
The io_destroy() system call will attempt to cancel all outstanding asynchronous I/O operations against ctx_id, will block on the completion of all operations t

manpages/apropos.1.html
apropos(1) - search the manual page names and descriptions
Each manual page has a short description available within it. apropos searches the descriptions for instances of keyword. keyword is usually a regular expressio

manpages/SDL_ConvertAudio.3.html
SDL_ConvertAudio(3) - Convert audio data to a desired audio
SDL_ConvertAudio takes one parameter, cvt, which was previously initilized. Initilizing a SDL_AudioCVT is a two step process. First of all, the structure must b

manpages/Tk_ImageChanged.3.html
Tk_ImageChanged(3) - notify widgets that image needs to be r
An image manager calls Tk_ImageChanged for an image whenever anything happens that requires the image to be redrawn. As a result of calling Tk_ImageChanged, any

manpages/epoll.4.html
epoll(4) - I/O event notification facility - Linux man page
epoll is a variant of poll(2) that can be used either as an edge-triggered or a level-triggered interface and scales well to large numbers of watched file descr





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