### 3.5 Credential Management ¶

       GSS-API Credential-management Routines

       Routine                         Function
       -------                         --------
       gss_acquire_cred                Assume a global identity; Obtain
                                       a GSS-API credential handle for
                                       pre-existing credentials.
       gss_add_cred                    Construct credentials
                                       incrementally.
       gss_inquire_cred                Obtain information about a
                                       credential.
       gss_inquire_cred_by_mech        Obtain per-mechanism information
                                       about a credential.
       gss_release_cred                Discard a credential handle.

#### gss_acquire_cred ¶

Function: `OM_uint32` gss_acquire_cred `(OM_uint32 * minor_status, const gss_name_t desired_name, OM_uint32 time_req, const gss_OID_set desired_mechs, gss_cred_usage_t cred_usage, gss_cred_id_t * output_cred_handle, gss_OID_set * actual_mechs, OM_uint32 * time_rec)` ¶

  minor_status: desired_name: time_req: desired_mechs: cred_usage: output_cred_handle: actual_mechs: time_rec:

#### gss_add_cred ¶

Function: `OM_uint32` gss_add_cred `(OM_uint32 * minor_status, const gss_cred_id_t input_cred_handle, const gss_name_t desired_name, const gss_OID desired_mech, gss_cred_usage_t cred_usage, OM_uint32 initiator_time_req, OM_uint32 acceptor_time_req, gss_cred_id_t * output_cred_handle, gss_OID_set * actual_mechs, OM_uint32 * initiator_time_rec, OM_uint32 * acceptor_time_rec)` ¶

  minor_status: input_cred_handle: desired_name: desired_mech: cred_usage: initiator_time_req: acceptor_time_req: output_cred_handle: actual_mechs: initiator_time_rec: acceptor_time_rec:

#### gss_inquire_cred ¶

Function: `OM_uint32` gss_inquire_cred `(OM_uint32 * minor_status, const gss_cred_id_t cred_handle, gss_name_t * name, OM_uint32 * lifetime, gss_cred_usage_t * cred_usage, gss_OID_set * mechanisms)` ¶

  minor_status: cred_handle: name: lifetime: cred_usage: mechanisms:

#### gss_inquire_cred_by_mech ¶

Function: `OM_uint32` gss_inquire_cred_by_mech `(OM_uint32 * minor_status, const gss_cred_id_t cred_handle, const gss_OID mech_type, gss_name_t * name, OM_uint32 * initiator_lifetime, OM_uint32 * acceptor_lifetime, gss_cred_usage_t * cred_usage)` ¶

  minor_status: cred_handle: mech_type: name: initiator_lifetime: acceptor_lifetime: cred_usage:

#### gss_release_cred ¶

Function: `OM_uint32` gss_release_cred `(OM_uint32 * minor_status, gss_cred_id_t * cred_handle)` ¶

  minor_status: cred_handle: