#include <qkrbspnego.h> OM_uint32 qkrb_build_spnego_target_token( gss_buffer_desc * negotiation_result, gss_OID_desc * supported_mechanism, gss_buffer_desc * response_token, gss_buffer_desc * mechanism_list_mic, OM_uint32 format_type, gss_buffer_desc * target_response_token);Service Program Name: QSYS/QKRBSPNEGO
The qkrb_build_spnego_target_token() builds a Simple and Protected GSS-API Negotiation (SPNEGO) Target Token and returns the results to the caller.
No authorities are required.
GSS_SPNEGO_ACCEPT_COMPLETED (0x00) | The target accepts the preferred security mechanism, and the context is established for the mechanism. |
GSS_SPNEGO_ACCEPT_INCOMPLETE (0x01) | The target accepts one of the proposed security mechanisms and further exchanges are necessary. |
GSS_SPNEGO_REJECTED (0x02) | The target rejects all the proposed security mechanisms. |
GSS_SPNEGO_FORMAT_0 (0) | The format of the SPNEGO token built follows the syntax defined in RFC 2478. |
GSS_SPNEGO_FORMAT_1 (1) | The format of the SPNEGO token built follows the syntax defined in RFC 2478 with one exception. The mechanism_list_mic is sent as SEQUENCE/GENERAL_STRING. |
The return value is one of the following status codes:
For a description of the SPNEGO protocol, see RFC 2478 on the RFC Pages for The Simple and Protected GSS-API Negotiation Mechanism.
[ Back to top | Security APIs | UNIX-Type APIs | APIs by category ]