gss_export_name - convert a mechanism name to export form
cc [flag ...] file... -lgss [library ...] #include <gssapi/gssapi.h> OM_uint32 gss_export_name(OM_uint32 *minor_status, const gss_name_t input_name,gss_buffer_t exported_name);
The gss_export_name() function allows a GSS-API internal name to be converted into a mechanism-specific name. The function produces a canonical contiguous string representation of a mechanism name, suitable for direct comparison, with memory(3C), or for use in authorization functions, matching entries in an access-control list. The input_name parameter must specify a valid mechanism name, that is, an internal name generated by gss_accept_sec_context(3GSS) or by gss_canonicalize_name(3GSS).
The parameter descriptions for gss_export_name() follow:
minor_status
input_name
exported_name
The gss_export_name() function may return the following status codes:
GSS_S_COMPLETE
GSS_S_NAME_NOT_MN
GSS_S_FAILURE
See attributes(5) for descriptions of the following attributes:
|
gss_accept_sec_context(3GSS), gss_canonicalize_name(3GSS), gss_release_buffer(3GSS)memory(3C), attributes(5)
Solaris Security for Developers Guide
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |