gnutls_x509_crq_get_key_id − API function
int gnutls_x509_crq_get_key_id(gnutls_x509_crq_t crq, unsigned int flags, unsigned char * output_data, size_t * output_data_size);
a certificate of type gnutls_x509_crq_t
unsigned int flags
should be 0 for now
unsigned char * output_data
will contain the key ID
size_t * output_data_size
holds the size of output_data (and will be replaced by the actual size of parameters)
This function will return a unique ID the depends on the public key parameters. This ID can be used in checking whether a certificate corresponds to the given private key.
If the buffer provided is not long enough to hold the output, then *output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be returned. The output will normally be a SHA−1 hash output, which is 20 bytes.
In case of failure a negative error code will be returned, and 0 on success.
Report bugs to <firstname.lastname@example.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
© 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.
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
should give you access to the complete manual.
More Linux Commands
lchown(2) - change ownership of a file - Linux manual page
These system calls change the owner and group of a file. The chown(), fchown(), and lchown() system calls differ only in how the file is specified: * chown() ch
XkbGetVirtualMods(3) - Obtain a subset of the virtual modifi
XkbGetVirtualMods sends a request to the server to obtain the vmods entries for the virtual modifiers specified in the mask, which, and waits for a reply. Virtu
combinediff(1) - create a cumulative unified patch from two
combinediff creates a unified diff that expresses the sum of two diffs. The diff files must be listed in the order that they are to be applied. For best results
rmiregistry-java-1.8.0-openjdk(1) Starts a remote object reg
The rmiregistry command creates and starts a remote object registry on the specified port on the current host. If the port is omitted, then the registry is star
unsetenv(3) - change or add an environment variable.........
The setenv() function adds the variable name to the environment with the value value, if name does not already exist. If name does exist in the environment, the
leaftoppm(1) - convert Interleaf image format to PPM image
This program is part of Netpbm(1) leaftoppm reads a PPM image as input and generates an Interleaf image file as output. Interleaf is a now-defunct (actually pur
libcurl(3) - client-side URL transfers - Linux manual page
This is a short overview on how to use libcurl in your C programs. There are specific man pages for each function mentioned in here. There are also the libcurl-
getwin_sp(3ncurses) - curses screen-pointer extension.......
This implementation can be configured to provide a set of functions which improve the ability to manage multiple screens. This feature can be added to any of th
XtAppAddBlockHook(3) - register a block hook procedure......
XtAppAddBlockHook registers the specified procedure and returns an identifier for it. The hook is called at any time in the future when the Intrinsics are about
mvwinch(3ncurses) - get a character and attributes from a cu
These routines return the character, of type chtype, at the current position in the named window. If any attributes are set for that position, their values are
Tcl_AllocStatBuf(3) - procedures to interact with any filesy
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
Tk_Class(3) - set or retrieve a window's class (Man Page)...
Tk_SetClass is called to associate a class with a particular window. The class string identifies the type of the window; all windows with the same general class