Functions for Win32 platforms
- Provided by: libglobus-gsi-sysconfig-doc (Version: 5.3-3)
- Source: globus-gsi-sysconfig
- Report a bug
globus_result_t globus_gsi_sysconfig_file_exists_win32
(const char *filename)
globus_result_t globus_gsi_sysconfig_dir_exists_win32
(const char *filename)
globus_result_t
globus_gsi_sysconfig_get_current_working_dir_win32 (char
**working_dir)
globus_result_t
globus_gsi_sysconfig_make_absolute_path_for_filename_win32 (char
*filename, char **absolute_path)
globus_result_t
globus_gsi_sysconfig_split_dir_and_filename_win32 (char
*full_filename, char **dir_string, char **filename_string)
globus_result_t globus_gsi_sysconfig_get_cert_dir_win32
(char **cert_dir)
globus_result_t
globus_gsi_sysconfig_get_user_cert_filename_win32 (char **user_cert,
char **user_key)
globus_result_t
globus_gsi_sysconfig_get_host_cert_filename_win32 (char **host_cert,
char **host_key)
globus_result_t
globus_gsi_sysconfig_get_service_cert_filename_win32 (char
*service_name, char **service_cert, char **service_key)
globus_result_t
globus_gsi_sysconfig_get_proxy_filename_win32 (char **user_proxy,
globus_gsi_proxy_file_type_t proxy_file_type)
globus_result_t
globus_gsi_sysconfig_get_ca_cert_files_win32 (char *ca_cert_dir,
globus_fifo_t *ca_cert_list)
globus_result_t
globus_gsi_sysconfig_remove_all_owned_files_win32 (char
*default_filename)
globus_result_t
globus_gsi_sysconfig_get_gridmap_filename_win32 (char **filename)
globus_result_t globus_gsi_sysconfig_get_authz_conf_filename_win32
(char **filename)
globus_result_t
globus_gsi_sysconfig_get_gaa_conf_filename_win32 (char **filename)
globus_result_t globus_gsi_sysconfig_is_superuser_win32
(int *is_superuser)
globus_result_t
globus_gsi_sysconfig_get_signing_policy_filename_win32 (X509_NAME
*ca_name, char *cert_dir, char **signing_policy_filename)
These functions implement the Win32 version of the Globus GSI System Configuration API.
They should never be called directly, please use the provided platform independent defines.
Set the file permissions of a file to read only by the user which are the permissions that should be set for all private keys.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_ERRNO, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_HAS_LINKS, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_IS_DIR, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_NOT_REGULAR, GLOBUS_GSI_SYSCONFIG_ERROR_SETTING_PERMS, and GLOBUS_GSI_SYSCONFIG_MODULE.
Check that the file exists.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_CHECKING_FILE_EXISTS, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_BAD_PERMISSIONS, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_DOES_NOT_EXIST, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_IS_DIR, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_NOT_REGULAR, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_ZERO_LENGTH, and GLOBUS_GSI_SYSCONFIG_MODULE.
Check that the directory exists.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_CHECKING_FILE_EXISTS, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_BAD_PERMISSIONS, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_DOES_NOT_EXIST, GLOBUS_GSI_SYSCONFIG_ERROR_FILE_NOT_DIR, and GLOBUS_GSI_SYSCONFIG_MODULE.
Get the current working directory on a windows system.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_ERRNO, and GLOBUS_GSI_SYSCONFIG_MODULE.
Make the filename into an absolute path string based on the current working directory.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CWD, and GLOBUS_GSI_SYSCONFIG_GET_CURRENT_WORKING_DIR.
Split the directory and filename portions of a filename string into two separate strings.
Parameters:
Returns:
Get the Trusted Certificate Directory containing the trusted Certificate Authority certificates. This directory is determined in the order shown below. Failure in one method results in attempting the next.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_DIR, and GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR.
Get the User Certificate Filename based on the current user's environment. The following locations are searched for cert and key files in order:
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_STRING, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING, and GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR.
Get the Host Certificate and Key Filenames based on the current user's environment. The host cert and key are searched for in the following locations (in order):
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_FILENAME, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_STRING, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING, and GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR.
Get the Service Certificate Filename based on the current user's environment. The host cert and key are searched for in the following locations (in order):
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_FILENAME, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_STRING, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING, GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR, and GLOBUS_GSI_SYSCONFIG_INVALID_ARG.
Get the proxy cert filename based on the following search order:
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_PROXY_FILENAME, GLOBUS_GSI_SYSCONFIG_GET_USER_ID_STRING, GLOBUS_PROXY_FILE_INPUT, and GLOBUS_PROXY_FILE_OUTPUT.
Gets a list of trusted CA certificate filenames in a trusted CA certificate directory.
Parameters:
See Also:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_ERRNO, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CA_CERT_FILENAMES, GLOBUS_GSI_SYSCONFIG_FILE_EXISTS, and GLOBUS_GSI_SYSCONFIG_MODULE.
Removes all proxies (ie. all delegated and grid-proxy-init generated proxies) found in the secure tmp directory that are owned by the current user.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_ERRNO, and GLOBUS_GSI_SYSCONFIG_MODULE.
Get the path and file name of the grid map file.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_GRIDMAP_FILENAME, GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR, and globus_gsi_sysconfig_is_superuser_win32().
Get the path and file name of the authorization callback configuration file.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_AUTHZ_FILENAME, GLOBUS_GSI_SYSCONFIG_FILE_EXISTS, and GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR.
Get the path and file name of the gaa config configuration file .
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_CHECK_CERTFILE, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_GAA_FILENAME, and GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR.
Checks whether the current user is root.
Parameters:
Returns:
Get the Signing Policy Filename on the current system, based on the CA's subject name, and the trusted certificates directory.
Parameters:
Returns:
References GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_SIGNING_POLICY, GLOBUS_GSI_SYSCONFIG_FILE_EXISTS, and GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR.
Generated automatically by Doxygen for globus gsi sysconfig from the source code.