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

krb5_cc_get_name — Return the name of the credentials cache

  Table of Contents

  Glossary

  Index

C Prototype

const char * krb5_cc_get_name(
krb5_context context,
krb5_ccache id );

Arguments

context (input/output) 

The context structure.

id (output)  

A credentials cache identifier.

Description

This routine returns the name of the credentials cache denoted by id.

Return Values

This routine returns the following KRB5 status code:

Success

The name of the credentials cache specified as a second argument.

Failure

NULL.