[an error occurred while processing this directive]

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_copy_authenticator — Copy an authenticator structure

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_copy_authenticator(
krb5_context context,
const krb5_authenticator *authfrom,
krb5_authenticator **authto );

Arguments

context (input/output) 

The context structure.

authfrom (input) 

The authenticator to be copied.

authto (output)  

A copy of the authenticator.

Description

This routine copies an authenticator structure, filling in *outauthdat to point to the newly allocated copy, which should be freed with krb5_free_authenticator.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.
ENOMEMInsufficient memory.