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_context  Initialize a Kerberos context structure krb5_init_context Initialize a Kerberos context structure
go to next page: krb5_init_secure_context  Initialize a secure Kerberos context blockkrb5_init_secure_context Initialize a secure Kerberos context...
end of book navigation links

krb5_init_keyblock -- Set up an empty keyblock 



C Prototype 

krb5_error_code krb5_init_keyblock (
        krb5_context            context,
        krb5_enctype            enctype,
        size_t                  length,
        krb5_keyblock           **out );

Arguments 

context
(input/output)
 The context structure.
enctype (input) The encryption type.
length (input) The length of the keyblock.
out (output) A pointer to the empty keyblock.

Description 

This routine sets up an empty keyblock.

Return Values 

This routine returns the following KRB5 status codes:

0
Successful completion.
ENOMEM
Insufficient memory.


go to previous page: krb5_init_context  Initialize a Kerberos context structure krb5_init_context Initialize a Kerberos context structure
go to next page: krb5_init_secure_context  Initialize a secure Kerberos context blockkrb5_init_secure_context Initialize a secure Kerberos context...