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

krb5_cc_store_cred — Store a credential in the credentials cache

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_cc_store_cred(
krb5_context context,
krb5_ccache id,
krb5_creds *creds );

Arguments

context (input/output) 

The context structure.

id (input)  

A credentials cache identifier.

creds (input)  

The credentials to store in the cache.

Description

This routine stores creds in the cache id, tagged with creds->client. It requires that id identifies a valid credentials cache.

Return Values

This routine returns one of the following KRB5 status codes:

Permission error.

Storage failure error.