Typedefs | |
typedef struct globus_l_gsi_cred_handle_attrs_s * | globus_gsi_cred_handle_attrs_t |
Credential Handle Attributes Initialization and Destruction | |
globus_result_t | globus_gsi_cred_handle_attrs_init (globus_gsi_cred_handle_attrs_t *handle_attrs) |
globus_result_t | globus_gsi_cred_handle_attrs_destroy (globus_gsi_cred_handle_attrs_t handle_attrs) |
Copy Credential Handle Attributes | |
globus_result_t | globus_gsi_cred_handle_attrs_copy (globus_gsi_cred_handle_attrs_t source, globus_gsi_cred_handle_attrs_t *dest) |
Seting and Getting the CA Cert Dir | |
globus_result_t | globus_gsi_cred_handle_attrs_set_ca_cert_dir (globus_gsi_cred_handle_attrs_t handle_attrs, char *ca_cert_dir) |
globus_result_t | globus_gsi_cred_handle_attrs_get_ca_cert_dir (globus_gsi_cred_handle_attrs_t handle_attrs, char **ca_cert_dir) |
Setting and Getting the Search Order | |
globus_result_t | globus_gsi_cred_handle_attrs_set_search_order (globus_gsi_cred_handle_attrs_t handle_attrs, globus_gsi_cred_type_t search_order[]) |
globus_result_t | globus_gsi_cred_handle_attrs_get_search_order (globus_gsi_cred_handle_attrs_t handle_attrs, globus_gsi_cred_type_t **search_order) |
Create/Destroy/Modify GSI Credential Handle Attributes.
Within the Globus GSI Credential Library, all credential handles contain a attribute structure, which in turn contains handle instance independent attributes.
This section defines operations to create, modify and destroy GSI Credential handle attributes.
typedef struct globus_l_gsi_cred_handle_attrs_s* globus_gsi_cred_handle_attrs_t |
Credential Handle Attributes.
Credential handle attributes provide a set of immutable parameters for a credential handle
globus_result_t globus_gsi_cred_handle_attrs_init | ( | globus_gsi_cred_handle_attrs_t * | handle_attrs) |
Initializes the immutable Credential Handle Attributes The handle attributes are initialized as follows:
handle_attrs | the attributes to be initialized |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS.
globus_result_t globus_gsi_cred_handle_attrs_destroy | ( | globus_gsi_cred_handle_attrs_t | handle_attrs) |
Destroy the Credential Handle Attributes.
This function does some cleanup and deallocation of the handle attributes.
handle_attrs | The handle attributes to destroy |
globus_result_t globus_gsi_cred_handle_attrs_copy | ( | globus_gsi_cred_handle_attrs_t | source, |
globus_gsi_cred_handle_attrs_t * | dest | ||
) |
Copy the Credential Handle Attributes.
source | The handle attribute to be copied |
dest | The copy |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS, globus_gsi_cred_handle_attrs_destroy(), and globus_gsi_cred_handle_attrs_init().
globus_result_t globus_gsi_cred_handle_attrs_set_ca_cert_dir | ( | globus_gsi_cred_handle_attrs_t | handle_attrs, |
char * | ca_cert_dir | ||
) |
Set the Trusted CA Certificate Directory Location.
handle_attrs | the credential handle attributes to set |
ca_cert_dir | the trusted ca certificates directory |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS.
globus_result_t globus_gsi_cred_handle_attrs_get_ca_cert_dir | ( | globus_gsi_cred_handle_attrs_t | handle_attrs, |
char ** | ca_cert_dir | ||
) |
Get the trusted ca cert directory.
handle_attrs | the credential handle attributes to get the trusted ca cert directory from |
ca_cert_dir | the trusted ca certificates directory |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS.
globus_result_t globus_gsi_cred_handle_attrs_set_search_order | ( | globus_gsi_cred_handle_attrs_t | handle_attrs, |
globus_gsi_cred_type_t | search_order[] | ||
) |
Set the search order for finding a user certificate.
The default value is {SERVICE, HOST, PROXY, USER}
handle_attrs | The handle attributes to set the search order of |
search_order | The search order. Should be a three element array containing in some order PROXY, USER, HOST, SERVICE. The array should be terminated by the value GLOBUS_SO_END. |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS.
globus_result_t globus_gsi_cred_handle_attrs_get_search_order | ( | globus_gsi_cred_handle_attrs_t | handle_attrs, |
globus_gsi_cred_type_t ** | search_order | ||
) |
Get the search order of the handle attributes.
handle_attrs | The handle attributes to get the search order from |
search_order | The search_order of the handle attributes |
References GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS.
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org