skip book previous and next navigation links
go up to top of book: HP Open Source Security for OpenVMS Volume 3:... HP Open Source Security for OpenVMS Volume 3:...
go to beginning of chapter: KRB5 (Kerberos V5) Application Programming Interface KRB5 (Kerberos V5) Application Programming Interface
go to previous page: krb5_cc_close  Close the credentials cache krb5_cc_close Close the credentials cache
go to next page: krb5_cc_default  Resolve the default credentials cache namekrb5_cc_default Resolve the default credentials cache name
end of book navigation links

krb5_cc_copy_creds -- Copy a set of credentials 



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.



go to previous page: krb5_cc_close  Close the credentials cache krb5_cc_close Close the credentials cache
go to next page: krb5_cc_default  Resolve the default credentials cache namekrb5_cc_default Resolve the default credentials cache name