rpc_gss_get_mech_info3
Get extra information about a security mechanism
Usage
#include <rpc/rpcsec_gss.h>
const char **
rpc_gss_get_mech_info(const char *mech, rpc_gss_service_t *service);
Library
library “librpcsec_gss”
Overview
This function looks up a mechanism by name by reading the file /etc/gss/mech and queries it for its capabilities.
Parameters
- mech
-
The mechanism to search for
- service
-
If the mechanism is found, the maximum supported service type is returned in *service
Return values
If the mechanism is found, a list of the supported qualities of protection is returned, otherwise NULL.
Releases
39 releases since FreeBSD 8.0-RELEASE; the text changed 26 times.