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

 » Glossary

 » Index

C Prototype

krb5_boolean krb5_c_valid_enctype (
const krb5_enctype etype );

Arguments

etype (input) 

The encryption type to validate.

Description

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.

1

Encryption type is valid.