Contents

gss_display_status(_:_:_:_:_:_:)

Returns a human readable string for a status code.

Declaration

func gss_display_status(_ minor_status: UnsafeMutablePointer<OM_uint32>, _ status_value: OM_uint32, _ status_type: Int32, _ mech_type: gss_OID?, _ message_content: UnsafeMutablePointer<OM_uint32>, _ status_string: gss_buffer_t) -> OM_uint32

Parameters

  • minor_status:

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

  • status_value:

    The status to be examined.

  • status_type:

    The kind of status to be examined. Set to Gss_c_gss_code for a GSS status code, or to Gss_c_mech_code for a mechanism status code.

  • mech_type:

    The mechanism for which to interpret the status value. Set to Gss_c_no_oid to indicate the system default.

  • message_content:

    A pointer the function uses to return a context that is currently always set to zero.

  • status_string:

    A buffer the function fills with the human readable string corresponding to the status code. Release this buffer with a call to Gss_release_buffer(_:_:) when you are done with it.

Return Value

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

See Also

Status and Error Creation