7 asn1_error_code asn1_krb5_data_unparse
8 (const krb5_data *code, char **s);
10 effects Instantiates *s with a string representation of the series
11 of hex octets in *code. (e.g. "02 02 00 7F") If code==NULL,
12 the string rep is "<NULL>". If code is empty (it contains no
13 data or has length <= 0), the string rep is "<EMPTY>".
14 If *s is non-NULL, then its currently-allocated storage
15 will be freed prior to the instantiation.
16 Returns ENOMEM or the string rep cannot be created. */
18 krb5_error_code krb5_data_parse
19 (krb5_data *d, const char *s);
20 /* effects Parses character string *s into krb5_data *d. */
22 krb5_error_code krb5_data_hex_parse
23 (krb5_data *d, const char *s);
24 /* requires *s is the string representation of a sequence of
25 hexadecimal octets. (e.g. "02 01 00")
26 effects Parses *s into krb5_data *d. */