xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_responder_get_challenge.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_responder_get_challenge -  Retrieve the challenge data for a given question in the responder context.
2===========================================================================================================
3
4..
5
6.. c:function:: const char * krb5_responder_get_challenge(krb5_context ctx, krb5_responder_context rctx, const char * question)
7
8..
9
10
11:param:
12
13	          **[in]** **ctx** - Library context
14
15	          **[in]** **rctx** - Responder context
16
17	          **[in]** **question** - Question name
18
19
20..
21
22
23
24..
25
26
27
28
29
30
31
32Return a pointer to a C string containing the challenge for *question* within *rctx* , or NULL if the question is not present in *rctx* . The structure of the question depends on the question name, but will always be printable UTF-8 text. The returned pointer is an alias, valid only as long as the lifetime of *rctx* , and should not be modified or freed by the caller.
33
34
35
36
37
38
39
40
41
42
43..
44
45
46
47
48.. note::
49
50	 New in 1.11
51
52
53