22f5092188526f208f15fc791167375d99f28374
[platform/upstream/krb5.git] / doc / html / _sources / appdev / refs / api / krb5_c_keyed_checksum_types.txt
1 krb5_c_keyed_checksum_types -  Return a list of keyed checksum types usable with an encryption type. 
2 =====================================================================================================
3
4 ..
5
6 .. c:function:: krb5_error_code krb5_c_keyed_checksum_types(krb5_context context, krb5_enctype enctype, unsigned int * count, krb5_cksumtype ** cksumtypes)
7
8 ..
9
10
11 :param:
12
13                   **[in]** **context** - Library context
14
15                   **[in]** **enctype** - Encryption type
16
17                   **[out]** **count** - Count of allowable checksum types
18
19                   **[out]** **cksumtypes** - Array of allowable checksum types
20
21
22 ..
23
24
25 :retval:
26          -   0   Success; otherwise - Kerberos error codes
27
28
29 ..
30
31
32
33
34
35
36
37 Use :c:func:`krb5_free_cksumtypes()` to free *cksumtypes* when it is no longer needed.
38
39
40
41
42
43
44
45
46
47
48 ..
49
50
51
52
53