[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

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

krb5_salttype_to_string — Convert a salttype (krb5_int32) to a string

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_salttype_to_string (
krb5_int32 salttype,
char *buffer,
size_t buflen );

Arguments

salttype (input) 

The salttype to convert.

buffer (output) 

A pointer to the buffer to receive the converted string.

buflen (input) 

The length of buffer.

Description

This routine converts a salttype (krb5_int32) into a string.

Return Values

This routine returns the following KRB5 status codes:

0

Successful completion.
EINVAL

Invalid parameter.

ENOMEM

Insufficient memory (buffer length less than output size).