PreviousNext

gss_indicate_mechs(3sec)

Allows an application to determine which underlying security mechanisms are available

Synopsis

#include <dce/gssapi.h>

OM_uint32 gss_indicate_mechs (
OM_uint32 *minor_status,
gss_OID_set *mech_set)

Parameters

Output

mech_set
Returns the set of supported security mechanisms. The value of gss_OID_set is a pointer to a static storage and should be treated as read-only by the context initiator.

minor_status
Returns a status code from the security mechanism.

Description
The gss_indicate_mechs( ) routine enables an application to determine which underlying security mechanisms are available. These are DCE Security and Kerberos Version 5.

You can use the gssdce_test_oid_set_member( ) routine to check whether a specific security mechanism is available.

Errors

The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.

GSS_S_COMPLETE The routine was completed successfully
GSS_S_FAILURE The routine failed. Check the minor_status parameter for details.
Related Information
Functions: gssdce_test_oid_set_member(3sec)