Function

gss_display_name

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

Declaration

OM_uint32 gss_display_name(OM_uint32 *minor_status, gss_name_t input_name, gss_buffer_t output_name_buffer, gss_OID  _Nullable *output_name_type);

Parameters

minor_status

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

input_name

The name in internal format to be converted.

output_name_buffer

A buffer the function fills with the octet string that corresponds to the name. Release this buffer with a call to gss_release_buffer when you are done with it.

output_name_type

A pointer the function uses to return an object identifier that indicates the name type.

Return Value

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

Discussion

Use this function to reverse the import procedure carried out with the gss_import_name function.

See Also

Inquiries

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_inquire_names_for_mech

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

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.