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_c_checksum_length — Get the checksum length for a checksum type

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_c_checksum_length (
krb5_context context,
krb5_cksumtype cksumtype,
size_t *length );

Arguments

context (input/output) 

The context structure.

cksumtype (input) 

The checksum type.

length (output) 

A pointer to the checksum length.

Description

This routine returns the checksum length for the checksum in cksumtype in the length argument.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.
KRB5_BAD_ENCTYPE

Bad encryption type.