RPC_GSS_MECH_TO_OID
Section: C Library Functions (3)
Page Index
BSD mandoc
NAME
rpc_gss_mech_to_oid
- Convert a mechanism name to a GSS-API oid
SYNOPSIS
In rpc/rpcsec_gss.h
Ft bool_t
Fn rpc_gss_mech_to_oid const char *mech gss_OID *oid_ret
DESCRIPTION
This function returns the GSS OID associated with the GSS_API
mechanism "mech".
PARAMETERS
- 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
RETURN VALUES
If the GSS_API mechanism name is recognized,
TRUE
is returned.
The corresponding GSS-API oid is returned in
Fa *oid_ret .
Otherwise
FALSE
is returned and
Fa *oid_ret
is left untouched.
AVAILABILITY
The
Fn rpc_gss_mech_to_oid
function is part of libtirpc.
SEE ALSO
rpc(3),
gssapi(3),
rpcsec_gss3
AUTHORS
This
manual page was written by
An Doug Rabson Aq
dfr@FreeBSD.org .