MIT Kerberos Documentation


krb5_auth_con_setrecvsubkey_k - Set the receiving subkey in an auth context.

krb5_error_code krb5_auth_con_setrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key key)
param:

[in] ctx - Library context

[in] ac - Authentication context

[in] key - Receiving subkey

retval:
  • 0 Success; otherwise - Kerberos error codes

This function sets the receiving subkey in ac to key , incrementing its reference count.

Note

First introduced in 1.9