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

krb5_init_secure_context — Initialize a secure Kerberos context block

  Table of Contents



C Prototype

krb5_error_code krb5_init_secure_context (
krb5_context *context );


context (output) 

A pointer to the context structure to be initialized.


This routine initializes a secure Kerberos context block, preparing it for use by other Kerberos APIs.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.

Insufficient memory.

Kerberos errors.