1gnutls_sign_algorithm_get_requested(3g)nutlgsnutls_sign_algorithm_get_requested(3)
2
3
4

NAME

6       gnutls_sign_algorithm_get_requested - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int    gnutls_sign_algorithm_get_requested(gnutls_session_t    session,
12       size_t indx, gnutls_sign_algorithm_t * algo);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       size_t indx is an index of the signature algorithm to return
19
20       gnutls_sign_algorithm_t * algo
21                   the returned certificate type will be stored there
22

DESCRIPTION

24       Returns the signature algorithm specified by index that  was  requested
25       by the peer. If the specified index has no data available this function
26       returns GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE.  If the  negotiated  TLS
27       version     does     not     support    signature    algorithms    then
28       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be  returned  even  for  the
29       first index.  The first index is 0.
30
31       This function is useful in the certificate callback functions to assist
32       in selecting the correct certificate.
33

RETURNS

35       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise an  error  code
36       is returned.
37

SINCE

39       2.10.0
40

REPORTING BUGS

42       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
43       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
44       http://www.gnu.org/gethelp/
45
47       Copyright © 2008 Free Software Foundation.
48       Copying  and  distribution  of this file, with or without modification,
49       are permitted in any medium  without  royalty  provided  the  copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The  full  documentation  for gnutls is maintained as a Texinfo manual.
54       If the info and gnutls programs are properly installed  at  your  site,
55       the command
56
57              info gnutls
58
59       should give you access to the complete manual.
60
61
62
63gnutls                             2.12.6g.n1utls_sign_algorithm_get_requested(3)
Impressum