1RPC_GSS_GET_MECH_INFO(3) BSD Library Functions Manual RPC_GSS_GET_MECH_INFO(3)
2
4 rpc_gss_get_mech_info — Get Quality of Protection information for a secu‐
5 rity mechanism
6
8 #include <rpc/rpcsec_gss.h>
9
10 const char **
11 rpc_gss_get_mech_info(const char *mech, rpc_gss_service_t *service);
12
14 This function returns the list of QOP names supported by the GSS_API
15 mechanism named "mech".
16
18 mech The name of a GSS_API mechanism. "kerberos_v5" is currently the
19 only supported mechanism.
20
21 service Buffer in which maximum service type is planted
22
24 If the named GSS_API mechanism is recognized, a list of the supported
25 Qualities of Protection is returned. The maximum supported service type
26 for the mechanism is returned in *service. Otherwise NULL is returned.
27
28 Note: The returned QOP list is statically allocated memory. The caller
29 must not free this array.
30
32 The rpc_gss_get_mech_info() function is part of libtirpc.
33
35 rpc(3), gssapi(3), rpcsec_gss(3)
36
38 This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
39
40BSD January 26, 2010 BSD