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

krb5_kt_get_name — Get key table name

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_get_name(
krb5_context context,
krb5_keytab id,
char *name,
unsigned int namesize );

Arguments

context (input/output) 

The context structure.

id (input/output)  

A key table handle.

name (output) 

The key table name.

namesize (input)  

The maximum length to fill in name.

Description

This routine fills name with the first namesize bytes of the name of the keytab identified by id. If the name is shorter than namesize, then name will be NULL terminated.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.