gnutls_x509_crq_get_key_id



gnutls_x509_crq_get_key_id

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_x509_crq_get_key_id − API function

SYNOPSIS

#include <gnutls/x509.h>

int gnutls_x509_crq_get_key_id(gnutls_x509_crq_t crq, unsigned int flags, unsigned char * output_data, size_t * output_data_size);

ARGUMENTS

gnutls_x509_crq_t crq

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)

DESCRIPTION

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.

RETURNS

In case of failure a negative error code will be returned, and 0 on success.

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/lchown.2.html
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

manpages/XkbGetVirtualMods.3.html
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

manpages/combinediff.1.html
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

manpages/rmiregistry-java-1.8.0-openjdk.1.html
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

manpages/unsetenv.3.html
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

manpages/leaftoppm.1.html
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

manpages/libcurl.3.html
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-

manpages/getwin_sp.3ncurses.html
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

manpages/XtAppAddBlockHook.3.html
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

manpages/mvwinch.3ncurses.html
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

manpages/Tcl_AllocStatBuf.3.html
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

manpages/Tk_Class.3.html
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





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