Function

gss_inquire_names_for_mech

Returns a list of name types that a given mechanism supports.

Declaration

OM_uint32 gss_inquire_names_for_mech(OM_uint32 *minor_status, gss_const_OID mechanism, gss_OID_set  _Nonnull *name_types);

Parameters

minor_status

A pointer to the secondary status result that provides additional information in case of failure.

mechanism

The mechanism to examine.

name_types

A pointer the function uses to return a set of object identifiers that correspond to the name types that the mechanism supports.

Return Value

A status code set to GSS_S_COMPLETE on success. See Function Status for a complete enumeration of status outputs.

See Also

Inquiries

gss_display_name

Converts a name in the internal format to an octet string and the associated name type.

gss_compare_name

Returns a flag that indicates if two names in internal name format refer to the same entity.

gss_inquire_name

Returns information about a name.

gss_inquire_mechs_for_name

Returns a list of mechanisms that support a particular name type.

gss_duplicate_name

Returns a copy of an internal name.

gss_aapl_change_password

Changes the password associated with a name.

gss_userok

Returns a flag that indicates if a given user is authorized.