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

krb5_c_enctype_compare — Compare two encryption types

  Table of Contents



C Prototype

krb5_error_code krb5_c_enctype_compare (
krb5_context context,
krb5_enctype e1,
krb5_enctype e2,
krb5_Boolean *similar );


context (input/output) 

The context structure.

e1 (input) 

First encryption type.

e2 (input) 

Second encryption type.

similar (output)  

TRUE if types are similar; FALSE if types are different.


This routine compares two encryption types.

Return Values

This routine returns the following KRB5 status code:


Bad encryption type.