MIT Kerberos Documentation

krb5_mk_rep - Format and encrypt a KRB_AP_REP message.

krb5_error_code krb5_mk_rep(krb5_context context, krb5_auth_context auth_context, krb5_data * outbuf)
param:

[in] context - Library context

[in] auth_context - Authentication context

[out] outbuf - AP-REP message

This function fills in outbuf with an AP-REP message using information from auth_context .

If the flags in auth_context indicate that a sequence number should be used (either KRB5_AUTH_CONTEXT_DO_SEQUENCE or