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

krb5_enctype_to_string — Convert a Kerberos encryption type value to a string

  Table of Contents



C Prototype

krb5_error_code krb5_enctype_to_string (
krb5_enctype enctype,
char *buffer,
size_t buflen );


enctype (input) 

The encryption type value to convert.

buffer (output)  

A pointer to a buffer to hold the encryption type string.

buflen (input)  

The maximum length of the string that will fit in buffer.


This routine converts a Kerberos encryption type value into the corresponding string.

Return Values

This routine returns the following KRB5 status codes:


Successful completion.


Insufficient memory.