logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

rpc_gss_get_mech_info — Get Quality of Protection information for a security mechanism

Authors

       This manual page was written by Doug Rabson <dfr@FreeBSD.org>.

Debian                                          January 26, 2010                        RPC_GSS_GET_MECH_INFO(3)

Availability

       The rpc_gss_get_mech_info() function is part of libtirpc.

Description

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

Name

       rpc_gss_get_mech_info — Get Quality of Protection information for a security mechanism

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.

See Also

rpc(3), gssapi(3), rpcsec_gss(3)

Synopsis

#include<rpc/rpcsec_gss.h>constchar**rpc_gss_get_mech_info(constchar*mech, rpc_gss_service_t*service);

See Also