GLOBUS_GSI_GSSAPI_EXTENSIONS_DELEGATION(3)

πŸ“¦
version 14.20 Β· 5 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– globus_gsi_gssapi_extensions_delegation πŸ’–

okay so bestie, welcome to the globus_gsi..._delegation(3) page from the Library Functions Manual β€” it's giving delegation core, it's giving GSSAPI extensions, and yes we're gonna get through the whole thing together 🫢


✨ NAME ✨

globus_gsi_gssapi_extensions_delegation β€” Delegation

  • Delegation Functions.

🌸 SYNOPSIS 🌸

πŸŽ€ Functions

OM_uint32 GSS_CALLCONV gss_accept_delegation (OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle, const gss_OID_set extension_oids,
    const gss_buffer_set_t extension_buffers, const gss_buffer_t
    input_token, OM_uint32 req_flags, OM_uint32 time_req, OM_uint32
    *time_rec, gss_cred_id_t *delegated_cred_handle, gss_OID *mech_type,
    gss_buffer_t output_token)

Accept a delegated credential. πŸ’…

OM_uint32 GSS_CALLCONV gss_init_delegation (OM_uint32 *minor_status,
    const gss_ctx_id_t context_handle, const gss_cred_id_t cred_handle,
    const gss_OID desired_mech, const gss_OID_set extension_oids, const
    gss_buffer_set_t extension_buffers, const gss_buffer_t input_token,
    OM_uint32 req_flags, OM_uint32 time_req, gss_buffer_t output_token)

Initiate Delegation. ✨


πŸ¦‹ Detailed Description πŸ¦‹

Delegation Functions. periodt.

The functions in this section let delegation happen outside of the context initiation handshake. like, off the main stage, doing its own lil thing πŸ’«


πŸ‘‘ Function Documentation πŸ‘‘

πŸ’œ OM_uint32 GSS_CALLCONV gss_accept_delegation

OM_uint32 GSS_CALLCONV gss_accept_delegation (OM_uint32 * minor_status,
    const gss_ctx_id_t context_handle, const gss_OID_set extension_oids,
    const gss_buffer_set_t extension_buffers, const gss_buffer_t
    input_token, OM_uint32 req_flags, OM_uint32 time_req, OM_uint32 *
    time_rec, gss_cred_id_t * delegated_cred_handle, gss_OID * mech_type,
    gss_buffer_t output_token)

Accept a delegated credential. This function drives the accepting side of the credential delegation process. It is expected to be called in tandem with the gss_init_delegation function β€” they're a duo, a package deal, fr fr 🀝

🌸 Parameters

  • minor_status β€” The minor status returned by this function. This parameter will be 0 upon success. no crumbs left behind πŸ’…
  • context_handle β€” The security context over which the credential is delegated.
  • extension_oids β€” A set of extension OIDs corresponding to buffers in the extension_buffers parameter below. May be GSS_C_NO_BUFFER_SET. Currently not used. πŸ™ˆ
  • extension_buffers β€” A set of extension buffers corresponding to OIDs in the extension_oids parameter above. May be GSS_C_NO_BUFFER_SET. Currently not used. πŸ™ˆ
  • input_token β€” The token that was produced by a prior call to gss_init_delegation.
  • req_flags β€” Flags that modify the behavior of the function. Currently only GSS_C_GLOBUS_SSL_COMPATIBLE is checked for. This flag results in tokens that aren't wrapped.
  • time_req β€” The requested period of validity (seconds) of the delegated credential. Currently a NO-OP. it's just standing there, existing 😭
  • time_rec β€” This parameter will contain the received period of validity of the delegated credential upon success. May be NULL.
  • delegated_cred_handle β€” This parameter will contain the delegated credential upon success. the main character, lowkey πŸ‘‘
  • mech_type β€” Returns the security mechanism upon success. Currently not implemented. May be NULL.
  • output_token β€” A token that should be passed to gss_init_delegation if the return value is GSS_S_CONTINUE_NEEDED.

⭐ Return values

  • GSS_S_COMPLETE β€” Successful completion. slay.
  • GSS_S_CONTINUE_NEEDED β€” The function needs to be called again. it's not done yet bestie, come back πŸ”
  • GSS_S_FAILURE β€” Failure. we don't talk about it πŸ’€

πŸ’œ OM_uint32 GSS_CALLCONV gss_init_delegation

OM_uint32 GSS_CALLCONV gss_init_delegation (OM_uint32 * minor_status, const
    gss_ctx_id_t context_handle, const gss_cred_id_t cred_handle, const
    gss_OID desired_mech, const gss_OID_set extension_oids, const
    gss_buffer_set_t extension_buffers, const gss_buffer_t input_token,
    OM_uint32 req_flags, OM_uint32 time_req, gss_buffer_t output_token)

Initiate Delegation. This function drives the initiating side of the credential delegation process. It is expected to be called in tandem with the gss_accept_delegation function β€” same duo, opposite ends, iconic behavior ✨

🌸 Parameters

  • minor_status β€” The minor status returned by this function. This parameter will be 0 upon success.
  • context_handle β€” The security context over which the credential is delegated.
  • cred_handle β€” The credential to be delegated. May be GSS_C_NO_CREDENTIAL, in which case the credential associated with the security context is used.
  • desired_mech β€” The desired security mechanism. Currently not used. May be GSS_C_NO_OID.
  • extension_oids β€” A set of extension OIDs corresponding to buffers in the extension_buffers parameter below. The extensions specified will be added to the delegated credential. May be GSS_C_NO_BUFFER_SET.
  • extension_buffers β€” A set of extension buffers corresponding to OIDs in the extension_oids parameter above. May be GSS_C_NO_BUFFER_SET.
  • input_token β€” The token that was produced by a prior call to gss_accept_delegation. This parameter will be ignored the first time this function is called. it literally gets ghosted on the first call πŸ‘»
  • req_flags β€” Flags that modify the behavior of the function. Currently only GSS_C_GLOBUS_SSL_COMPATIBLE and GSS_C_GLOBUS_LIMITED_DELEG_PROXY_FLAG are checked for. The GSS_C_GLOBUS_SSL_COMPATIBLE flag results in tokens that aren't wrapped, and GSS_C_GLOBUS_LIMITED_DELEG_PROXY_FLAG causes the delegated proxy to be limited (requires that no extensions are specified.
  • time_req β€” The requested period of validity (seconds) of the delegated credential. Passing a time_req of 0 causes the delegated credential to have the same lifetime as the credential that issued it.
  • output_token β€” A token that should be passed to gss_accept_delegation if the return value is GSS_S_CONTINUE_NEEDED.

⭐ Return values

  • GSS_S_COMPLETE β€” Success. ate. πŸ’…
  • GSS_S_CONTINUE_NEEDED β€” This function needs to be called again. round two, let's go πŸ”
  • GSS_S_FAILURE β€” upon failure. rip. 😭

🧚 Author 🧚

Generated automatically by Doxygen for globus_gssapi_gsi from the source code. not a human writing this one, it's the machine's moment πŸ€–βœ¨


and that's the whole page bestie!! 🌈 this was globus_gssapi_gsi, Version 14.20, and the page is globus_gsi..._delegation(3) β€” you understood it, you ate it, periodt πŸŽ€πŸ’–πŸ¦‹