Provided by: libtirpc-dev_1.2.5-1_amd64
rpc_gss_mech_to_oid — Convert a mechanism name to a GSS-API oid
#include <rpc/rpcsec_gss.h> bool_t rpc_gss_mech_to_oid(const char *mech, gss_OID *oid_ret);
This function returns the GSS OID associated with the GSS_API mechanism "mech".
mech The name of a GSS_API mechanism. "kerberos_v5" is currently the only supported mechanism. oid_ret Buffer in which to place the returned OID
If the GSS_API mechanism name is recognized, TRUE is returned. The corresponding GSS-API oid is returned in *oid_ret. Otherwise FALSE is returned and *oid_ret is left untouched.
The rpc_gss_mech_to_oid() function is part of libtirpc.
rpc(3), gssapi(3), rpcsec_gss(3)
This manual page was written by Doug Rabson <dfr@FreeBSD.org>.