The krb5_auth_con_getremotesubkey() function retrieves the
remote subsession key stored in the authentication context.
Authorities
No authorities are required.
Parameters
context (Input)
The Kerberos context.
auth_context (Input)
The authentication context.
keyblock (Output)
A keyblock containing the subsession key. The
krb5_free_keyblock() routine should be called to release the
keyblock when it is no longer needed.
Return Value
If no errors occur, the return value is 0. Otherwise, a Kerberos error code
is returned.
Error Messages
Message ID
Error Message Text
CPE3418 E
Possible APAR condition or hardware failure.
Usage Notes
The Kerberos protocol runtime provides no concurrency control for the
authentication context. If the application wants to use the same authentication
context in multiple threads, it is the responsibility of the application to
serialize access to the authentication context so that only a single thread is
accessing the authentication context at any time.