OM_uint32GSS_CALLCONVgss_export_cred(OM_uint32*minor_status,constgss_cred_id_tcred_handle,constgss_OIDdesired_mech,OM_uint32option_req,gss_buffer_texport_buffer)
Export a GSSAPI credential. Saves the credential so it can be checkpointed and imported by
gss_import_cred
Parametersminor_statuscred_handledesired_mech Should either be gss_mech_globus_gssapi_openssl or NULL (in which case
gss_mech_globus_gssapi_openssl is assumed).
option_reqexport_bufferReturnsOM_uint32GSS_CALLCONVgss_import_cred(OM_uint32*minor_status,gss_cred_id_t*output_cred_handle,constgss_OIDdesired_mech,OM_uint32option_req,constgss_buffer_timport_buffer,OM_uint32time_req,OM_uint32*time_rec)
Import a credential. This function will import credentials exported by gss_export_cred(). It is intended
to allow a multiple use application to checkpoint delegated credentials.
Parametersminor_status The minor status returned by this function. This parameter will be 0 upon success.
output_cred_handle Upon success, this parameter will contain the imported credential. When no longer
needed this credential should be freed using gss_release_cred().
desired_mech This parameter may be used to specify the desired security mechanism. May be
GSS_C_NO_OID.
option_req This parameter indicates which option_req value was used to produce the import_buffer.
import_buffer A buffer produced by gss_export_credential().
time_req The requested period of validity (seconds) for the imported credential. May be NULL.
time_rec This parameter will contain the received period of validity of the imported credential upon
success. May be NULL.
ReturnvaluesGSS_S_COMPLETE Success
GSS_S_BAD_MECH Requested security mechanism is unavailable
GSS_S_DEFECTIVE_TOKEN import_buffer is defective
GSS_S_FAILURE General failure
OM_uint32GSS_CALLCONVgss_inquire_cred_by_oid(OM_uint32*minor_status,constgss_cred_id_tcred_handle,constgss_OIDdesired_object,gss_buffer_set_t*data_set)
Inquire Cred By OID. NOTE: Checks both the cert in the credential and the certs in the cert chain for a
valid extension that matches the desired OID. The first one found is used, starting with the endpoint
cert, and then searching the cert chain.
Parametersminor_statuscred_handledesired_objectdata_setReturnsOM_uint32GSS_CALLCONVgss_set_sec_context_option(OM_uint32*minor_status,gss_ctx_id_t*context_handle,constgss_OIDoption,constgss_buffer_tvalue)
Set Security Context Option. GSSAPI routine to initiate the sending of a security context See: <draft-
ietf-cat-gssv2-cbind-04.txt>
Parametersminor_statuscontext_handleoptionvalueReturns