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

krb5_auth_con_set_checksum_func — Set the checksum function and data structure

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_auth_con_set_checksum_func (
krb5_context context,
krb5_auth_context auth_context,
krb5_mk_req_checksum_func func,
void *data );

Arguments

context (input/output) 

The context structure.

auth_context (input/output) 

A per-connection context.

func (input) 

A function that performs the checksum.

data (input)  

A pointer to the data structure that holds the checksum.

Description

This routine sets the checksum function and the sets up the data structure used to hold the checksum data.

Return Values

This routine returns the following KRB5 status code:

0Successful completion.