[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

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

krb5_init_keyblock — Set up an empty keyblock

 » Table of Contents

 » Glossary

 » Index

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:

0Successful completion.
ENOMEM

Insufficient memory.