Chooses the first enctype the client asked for that the principal supports.
the principal
the client's enctypes, in its order of preference
the enctype, or null
Chooses the first enctype the client asked for that the principal supports.