krb5_error_code krb5_get_permitted_enctypes ( krb5_context context, krb5_enctype **ktypes );
The context structure.
A pointer to the list of encryption types.
This routine returns a list of the supported encryption types.
This routine returns the following KRB5 status codes:
Successful completion.
KRB5_CONFIG_ETYPE_NOSUPP
No valid encryption types configured.