Imported Upstream version 1.15.2
[platform/upstream/krb5.git] / doc / html / _sources / appdev / refs / api / krb5_enctype_to_name.txt
1 krb5_enctype_to_name -  Convert an encryption type to a name or alias. 
2 =======================================================================
3
4 ..
5
6 .. c:function:: krb5_error_code krb5_enctype_to_name(krb5_enctype enctype, krb5_boolean shortest, char * buffer, size_t buflen)
7
8 ..
9
10
11 :param:
12
13                   **[in]** **enctype** - Encryption type
14
15                   **[in]** **shortest** - Flag
16
17                   **[out]** **buffer** - Buffer to hold encryption type string
18
19                   **[in]** **buflen** - Storage available in *buffer*
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 If *shortest* is FALSE, this function returns the enctype's canonical name (like"aes128-cts-hmac-sha1-96"). If *shortest* is TRUE, it return the enctype's shortest alias (like"aes128-cts").
38
39
40
41
42
43
44
45
46
47
48 ..
49
50
51
52
53 .. note::
54
55          New in 1.9
56  
57