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

krb5_string_to_salttype — Convert a string to a salt type

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_string_to_salttype (
char *string,
krb5_int32 *salttypep );

Arguments

string (input) 

A pointer to the string to convert to a salt type.

salttypep (output) 

A pointer to the salt type.

Description

This routine converts a string to a Kerberos salt type.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.

EINVAL

Invalid parameter.