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

krb5_string_to_enctype — Convert a string to an encryption type

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_string_to_enctype (
char *string,
krb5_enctype *enctypep );

Arguments

string (input) 

A pointer to the string to convert to an encryption type.

deltatp (output) 

A pointer to the encryption type.

Description

This routine converts a string to a Kerberos encryption type.

Return Values

This routine returns the following KRB5 status codes:

0Successful completion.

EINVAL

Invalid parameter.