skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_auth_con_getremoteseqnumber  Retrieve and store the remote sequence number krb5_auth_con_getremoteseqnumber Retrieve and store the remote...
go to next page: krb5_auth_con_init  Initialize the auth_contextkrb5_auth_con_init Initialize the auth_context
end of book navigation links

krb5_auth_con_getremotesubkey -- Retrieve the remote_subkey keyblock from auth_context 



C Prototype 

krb5_error_code krb5_auth_con_getremotesubkey(
         krb5_context              context,
         krb5_auth_context         auth_context,
         krb5_keyblock             **keyblock );       

Arguments 

context
(input/output)
 The context structure.
auth_context (input/output)
 A per-connection context.
keyblock (output) remote_subkey keyblock stored in auth_context.

Description 

This routine retrieves the remote_subkey keyblock stored in auth_context. The memory allocated in this function should be freed with a call to krb5_free_keyblock.

Return Values 

This routine returns the following KRB5 status code:

0
Successful completion.


go to previous page: krb5_auth_con_getremoteseqnumber  Retrieve and store the remote sequence number krb5_auth_con_getremoteseqnumber Retrieve and store the remote...
go to next page: krb5_auth_con_init  Initialize the auth_contextkrb5_auth_con_init Initialize the auth_context