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 type.
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 <bugs@gnutls.org>.
43       Home page: https://www.gnutls.org
44
45
47       Copyright © 2001- Free Software Foundation, Inc., and others.
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 /usr/share/doc/gnutls/ directory does not contain the HTML  form
55       visit
56
57       https://www.gnutls.org/manual/
58
59gnutls                              3.6.1g5nutls_sign_algorithm_get_requested(3)
Impressum