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

krb5_c_keyed_checksum_types — Get a list of derived key checksums

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_c_keyed_checksum_types (
krb5_context context,
krb5_enctype enctype,
unsigned int *count,
krb5_cksumtype **cksumtypes );

Arguments

context (input/output) 

The context structure.

enctype (input) 

The encryption type.

count (output) 

Pointer to a count of checksums matching the encryption type.

cksumtypes (output) 

A pointer to the list of matching checksums.

Description

This routine searches the list of derived checksum types supported by Kerberos, and returns the list of checksum types matching the encryption type passed in enctype in the output parameter cksumtypes. The number of checksum types in cksumtypes is returned in count.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.
ENOMEMInsufficient memory.