rpc_gss_get_mech_info(3t)

rpc_gss_get_mech_info3t

Get quality of protection information for a security mechanism

Usage

#include <rpc/rpcsec_gss.h>

const char **

rpc_gss_get_mech_info(const char *mech, rpc_gss_service_t *service);

Overview

This function returns the list of QOP names supported by the GSS_API mechanism named "mech".

Parameters

mech

The name of a GSS_API mechanism. "kerberos_v5" is currently the only supported mechanism.

service

Buffer in which maximum service type is planted

Return values

If the named GSS_API mechanism is recognized, a list of the supported Qualities of Protection is returned. The maximum supported service type for the mechanism is returned in *service. Otherwise NULL is returned.

Note: The returned QOP list is statically allocated memory. The caller must not free this array.

Releases

Unchanged in 5 releases since Debian 10 (Buster).

  1. 10–Arch

Availability

The rpc_gss_get_mech_info() function is part of libtirpc.

Authors

This manual page was written by Doug Rabson ⟨[email protected]⟩.

From libtirpc 1.3.8-1 in Arch Linux 2026-11-07. Parsed by carta from the page's mdoc source.