gss_import_name - convert a contiguous string name to GSS_API internal format
cc [flag ...] file... -lgss [library ...] #include <gssapi/gssapi.h> OM_uint32 gss_import_name(OM_uint32 * minor_status, const gss_buffer_t input_name_buffer, const gss_OID input_name_type, gss_name_t *output_name);
The gss_import_name() function converts a contiguous string name to internal form. In general, the internal name returned by means of the output_name parameter will not be a mechanism name; the exception to this is if the input_name_type indicates that the contiguous string provided by means of the input_name_buffer parameter is of type GSS_C_NT_EXPORT_NAME, in which case, the returned internal name will be a mechanism name for the mechanism that exported the name.
The parameter descriptions for gss_import_name() follow:
minor_status
input_name_buffer
input_name_type
output_name
The gss_import_name() function may return the following status codes:
GSS_S_COMPLETE
GSS_S_BAD_NAMETYPE
GSS_S_BAD_NAME
GSS_S_BAD_MECH
GSS_S_FAILURE
See attributes(5) for descriptions of the following attributes:
|
gss_release_buffer(3GSS), attributes(5)
Solaris Security for Developers Guide
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |