HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_auth_con_getrecvsubkey — Retrieve the recv_subkey keyblock from auth_context

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_auth_con_getrecvsubkey(
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) 

recv_subkey keyblock stored in auth_context.

Description

This routine retrieves the recv_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.