rpc_gss_get_mech_info
—
Get extra information about a security mechanism
RPC GSS-API Authentication Library (librpcsec_gss,
-lrpcsec_gss)
#include <rpc/rpcsec_gss.h>
const char **
rpc_gss_get_mech_info
(const
char *mech,
rpc_gss_service_t
*service);
This function looks up a mechanism by name by reading the file /etc/gss/mech and
queries it for its capabilities.
- mech
- The mechanism to search for
- service
- If the mechanism is found, the maximum supported service type is returned
in *service
If the mechanism is found, a list of the supported qualities of protection is
returned, otherwise NULL
.
The rpc_gss_get_mech_info
function first appeared in
FreeBSD 8.0.