MIT Kerberos Documentation

krb5_auth_con_getsendsubkey_k - Retrieve the send subkey from an auth context.

krb5_error_code krb5_auth_con_getsendsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key * key)

[in] ctx - Library context

[in] ac - Authentication context

[out] key - Send subkey

  • 0 Success; otherwise - Kerberos error codes

This function sets key to the send subkey from auth_context . Use krb5_k_free_key() to release key when it is no longer needed.