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



C Prototype

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


string (input) 

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

salttypep (output) 

A pointer to the salt type.


This routine converts a string to a Kerberos salt type.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.


Invalid parameter.