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

krb5_c_valid_cksumtype — Validate a checksum type

  Table of Contents

  Glossary

  Index

C Prototype

krb5_boolean krb5_c_valid_cksumtype (
const krb5_cksumtype ctype );

Arguments

ctype (input) 

The checksum type to validate.

Description

This routine tests to see whether a checksum type, passed in ctype, is a valid Kerberos checksum type.

Return Values

This routine returns one of the following KRB5 status codes:

0 Checksum type is invalid.

1

Checksum type is valid.