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

krb5_c_valid_enctype — Validate an encryption type

  Table of Contents



C Prototype

krb5_boolean krb5_c_valid_enctype (
const krb5_enctype etype );


etype (input) 

The encryption type to validate.


This routine tests to see whether an encryption type, passed in etype, is a valid Kerberos encryption type.

Return Values

This routine returns one of the following KRB5 status codes:

0 Encryption type is invalid.


Encryption type is valid.