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_cc_copy_creds — Copy a set of credentials

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_cc_copy_creds (
krb5_context context,
krb5_ccache incc,
krb5_ccache outcc );

Arguments

context (input/output) 

The context structure.

incc (input)  

The credentials to be copied.

outcc (output)  

The copy of the credentials.

Description

This routine creates a copy of the set of credentials found in incc. The copy is returned in outcc.

Return Values

This routine returns the following KRB5 status code:

Kerberos errors.