gnutls_pubkey_get_preferred_hash_algorithm



gnutls_pubkey_get_preferred_hash_algorithm

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
SINCE
REPORTING BUGS
COPYRIGHT
SEE ALSO

NAME

gnutls_pubkey_get_preferred_hash_algorithm − API function

SYNOPSIS

#include <gnutls/gnutls.h>

int gnutls_pubkey_get_preferred_hash_algorithm(gnutls_pubkey_t key, gnutls_digest_algorithm_t * hash, unsigned int * mand);

ARGUMENTS

gnutls_pubkey_t key

Holds the certificate

gnutls_digest_algorithm_t *
hash

The result of the call with the hash algorithm used for signature

unsigned int * mand

If non zero it means that the algorithm MUST use this hash. May be NULL.

DESCRIPTION

This function will read the certifcate and return the appropriate digest algorithm to use for signing with this certificate. Some certificates (i.e. DSA might not be able to sign without the preferred algorithm).

RETURNS

the 0 if the hash algorithm is found. A negative error code is returned on error.

SINCE

2.12.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/NetSNMP::ASN.3pm.html
NetSNMP::ASN(3pm) - Perl extension for SNMP ASN.1 types.....
The NetSNMP::ASN module provides the ASN .1 types for SNMP . EXPORT None by default. Exportable constants ASN_APPLICATION ASN_BIT_STR ASN_BOOLEAN ASN_COUNTER AS

manpages/gnutls_pkcs11_set_token_function.3.html
gnutls_pkcs11_set_token_function(3) - API function (ManPage)
This function will set a callback function to be used when a token needs to be inserted to continue PKCS 11 operations. SINCE 2.12.0 REPORTING BUGS Report bugs

manpages/Tcl_NewByteArrayObj.3.html
Tcl_NewByteArrayObj(3) - manipulate Tcl objects as a arrays
These procedures are used to create, modify, and read Tcl byte-array objects from C code. Byte-array objects are typically used to hold the results of binary IO

manpages/autom4te.1.html
autom4te(1) - Generate files and scripts thanks to M4.......
Run GNU M4 on the FILES, avoiding useless runs. Output the traces if tracing, the frozen file if freezing, otherwise the expansion of the FILES. If some of the

manpages/dysize.3.html
dysize(3) - get number of days for a given year (Man Page)
The function returns 365 for a normal year and 366 for a leap year. The calculation for leap year is based on: (year) %4 == 0 &amp;&amp; ((year) %100 != 0 || (year) %40

manpages/XScreenSaverSetAttributes.3.html
XScreenSaverSetAttributes(3) - X11 Screen Saver extension cl
The X Window System provides support for changing the image on a display screen after a user-settable period of inactivity to avoid burning the cathode ray tube

manpages/incoming.conf.5.html
incoming.conf(5) - Configuration of incoming news feeds.....
The file pathetc/incoming.conf consists of three types of entries: key/value, peer and group. Comments are from the hash character # to the end of the line. Bla

manpages/Archive::Tar::File.3pm.html
Archive::Tar::File(3pm) - a subclass for in-memory extracted
Archive::Tar::Files provides a neat little object layer for in-memory extracted files. Its mostly used internally in Archive::Tar to tidy up the code, but there

manpages/exp10f.3.html
exp10f(3) - base-10 exponential function - Linux man page...
The exp10() function returns the value of 10 raised to the power of x. RETURN VALUE On success, these functions return the base-10 exponential value of x. For v

manpages/Mail::SPF::Mech::Include.3pm.html
Mail::SPF::Mech::Include(3pm) - SPF record "include" mechani
An object of class Mail::SPF::Mech::Include represents an SPF record mechanism of type include. Constructors The following constructors are provided: new(%optio

manpages/gimprc.5.html
gimprc(5) - gimp configuration file - Linux manual page.....
The gimprc file is a configuration file read by GIMP when it starts up. There are two of these: one system-wide one stored in /etc/gimp/2.0/gimprc and a per-use

manpages/pnmtoplainpnm.1.html
pnmtoplainpnm(1) - replaced by pnmtopnm - Linux manual page
This program is part of Netpbm(1) pnmtoplainpnm was obsoleted in Netpbm 10.23 (July 2004) by pnmtopnm(1) -plain. pnmtoplainpnm exists today for backward compati





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