gss_canonicalize_name - convert an internal name to a mechanism name
cc [flag ...] file... -lgss [library ...] #include <gssapi/gssapi.h> OM_uint32 gss_canonicalize_name(OM_uint32 *minor_status, const gss_name_t input_name,const gss_OID mech_type, gss_name_t *output_name);
The gss_canonicalize_name() function generates a canonical mechanism name from an arbitrary internal name. The mechanism name is the name that would be returned to a context acceptor on successful authentication of a context where the initiator used the input_name in a successful call to gss_acquire_cred(3GSS), specifying an OID set containing mech_type as its only member, followed by a call to gss_init_sec_context(3GSS), specifying mech_type as the authentication mechanism.
The parameter descriptions for gss_canonicalize_name() follow:
minor_status
input_name
mech_type
output_name
The gss_canonicalize_name() function may return the status codes:
GSS_S_COMPLETE
GSS_S_BAD_MECH
GSS_S_BAD_NAMETYPE
GSS_S_BAD_NAME
GSS_S_FAILURE
See attributes(5) for descriptions of the following attributes:
|
gss_acquire_cred(3GSS), gss_init_sec_context(3GSS), gss_release_name(3GSS), attributes(5)
Solaris Security for Developers Guide
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |