Partager via


3.1.5.1 GSS_WrapEx() Call

This call is an extension to GSS_Wrap ([RFC2743] section 2.3.3) that passes multiple buffers.

Inputs:

  • context_handle CONTEXT HANDLE

  • qop_req INTEGER -- 0 specifies default Quality of Protection (QOP)

  • input_message ORDERED LIST of:

    • conf_req_flag BOOLEAN

    • sign BOOLEAN

    • data OCTET STRING

Outputs:

  • major_status INTEGER

  • minor_status INTEGER

  • output_message ORDERED LIST (in same order as input_message) of:

    • conf_state BOOLEAN

    • signed BOOLEAN

    • data OCTET STRING

  • signature OCTET STRING

This call is identical to GSS_Wrap, except that it supports multiple input buffers. Schannel's binding of GSS_WrapEx() is such that only the first input buffer will be processed, and the rest ignored.  Thus, Schannel's binding of GSS_WrapEx() functions just as GSS_Wrap does.