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_init_keyblock  Set up an empty keyblock krb5_init_keyblock Set up an empty keyblock
go to next page: krb5_kt_add_entry  Add an entry to a key tablekrb5_kt_add_entry Add an entry to a key table
end of book navigation links

krb5_init_secure_context -- Initialize a secure Kerberos context block 



C Prototype 

krb5_error_code krb5_init_secure_context (
        krb5_context            *context );

Arguments 

context
(output)
 A pointer to the context structure to be initialized.

Description 

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:

0
Successful completion.
ENOMEM
Insufficient memory.
Kerberos errors.



go to previous page: krb5_init_keyblock  Set up an empty keyblock krb5_init_keyblock Set up an empty keyblock
go to next page: krb5_kt_add_entry  Add an entry to a key tablekrb5_kt_add_entry Add an entry to a key table