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

krb5_get_permitted_enctypes — Return a list of supported encryption types

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_get_permitted_enctypes (
krb5_context context,
krb5_enctype **ktypes );

Arguments

context (input/output) 

The context structure.

ktypes (output) 

A pointer to the list of encryption types.

Description

This routine returns a list of the supported encryption types.

Return Values

This routine returns the following KRB5 status codes:

0

Successful completion.

ENOMEM Insufficient memory.

KRB5_CONFIG_ETYPE_NOSUPP

No valid encryption types configured.