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

  Glossary

  Index

C Prototype

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

Arguments

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.

Description

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

Return Values

This routine returns the following KRB5 status codes:

0

Successful completion.

ENOMEM

Insufficient memory.