1RPC_GSS_MECH_TO_OID(3) BSD Library Functions Manual RPC_GSS_MECH_TO_OID(3)
2
4 rpc_gss_mech_to_oid — Convert a mechanism name to a GSS-API oid
5
7 #include <rpc/rpcsec_gss.h>
8
9 bool_t
10 rpc_gss_mech_to_oid(const char *mech, gss_OID *oid_ret);
11
13 This function returns the GSS OID associated with the GSS_API mechanism
14 "mech".
15
17 mech The name of a GSS_API mechanism. "kerberos_v5" is currently the
18 only supported mechanism.
19
20 oid_ret Buffer in which to place the returned OID
21
23 If the GSS_API mechanism name is recognized, TRUE is returned. The cor‐
24 responding GSS-API oid is returned in *oid_ret. Otherwise FALSE is
25 returned and *oid_ret is left untouched.
26
28 The rpc_gss_mech_to_oid() function is part of libtirpc.
29
31 rpc(3), gssapi(3), rpcsec_gss(3)
32
34 This manual page was written by Doug Rabson <dfr@FreeBSD.org>.
35
36BSD January 26, 2010 BSD