1
krb5_auth_con_getrecvsubkey_k - Retrieve the receiving subkey from an auth context as a keyblock.
2
===================================================================================================
6
.. c:function:: krb5_error_code krb5_auth_con_getrecvsubkey_k(krb5_context ctx, krb5_auth_context ac, krb5_key * key)
13
**[in]** **ctx** - Library context
15
**[in]** **ac** - Authentication context
17
**[out]** **key** - Receiving subkey
24
- 0 Success; otherwise - Kerberos error codes
35
This function sets *key* to the receiving subkey from *auth_context* . Use :c:func:`krb5_k_free_key()` to release *key* when it is no longer needed.