Linux Manuals session 3

Section 3: library functions

  • |

    globus_gss_assist_credential (3) Linux Manual Page

    Credential Management – Acquire Credential. FunctionsOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle) OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 *minor_status, char *desired_name_char, 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) Detailed DescriptionAcquire Credential. The functions in this section are used to acquire security credentials. Function DocumentationOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_tcred_usage, gss_cred_id_t *output_cred_handle)Called once…

  • |

    globus_gss_assist_context (3) Linux Manual Page

    Security Context Management – Security Context Creation and Use. FunctionsOM_uint32 globus_gss_assist_accept_sec_context (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t cred_handle, char **src_name_char, OM_uint32 *ret_flags, int *user_to_user_flag, int *token_status, gss_cred_id_t *delegated_cred_handle, int(*gss_assist_get_token)(void *, void **, size_t *), void *gss_assist_get_context, int(*gss_assist_send_token)(void *, void *, size_t), void *gss_assist_send_context) Accept a Security Context. OM_uint32 globus_gss_assist_accept_sec_context_async (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t…

  • |

    globus_gss_assist_constants (3) Linux Manual Page

    GSI GSS Assist Constants – Constant Definitions. Enumerationsenum globus_gsi_gss_assist_error_t { GLOBUS_GSI_GSS_ASSIST_ERROR_SUCCESS = 0, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_ARGUMENTS = 1, GLOBUS_GSI_GSS_ASSIST_ERROR_USER_ID_DOESNT_MATCH = 2, GLOBUS_GSI_GSS_ASSIST_ERROR_IN_GRIDMAP_NO_USER_ENTRY = 3, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_GRIDMAP = 4, GLOBUS_GSI_GSS_ASSIST_ERROR_INVALID_GRIDMAP_FORMAT = 5, GLOBUS_GSI_GSS_ASSIST_ERROR_ERRNO = 6, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_INIT = 7, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_WRAP = 8, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_TOKEN = 9, GLOBUS_GSI_GSS_ASSIST_ERROR_EXPORTING_CONTEXT = 10, GLOBUS_GSI_GSS_ASSIST_ERROR_IMPORTING_CONTEXT = 11, GLOBUS_GSI_GSS_ASSIST_ERROR_INITIALIZING_CALLOUT_HANDLE = 12, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_CALLOUT_CONFIG = 13, GLOBUS_GSI_GSS_ASSIST_CALLOUT_ERROR = 14,…

  • |

    globus_gss_assist_constants.h (3) Linux Manual Page

    globus_gss_assist_constants.h – Globus GSI GSS Assist Library. SynopsisEnumerationsenum globus_gsi_gss_assist_error_t { GLOBUS_GSI_GSS_ASSIST_ERROR_SUCCESS = 0, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_ARGUMENTS = 1, GLOBUS_GSI_GSS_ASSIST_ERROR_USER_ID_DOESNT_MATCH = 2, GLOBUS_GSI_GSS_ASSIST_ERROR_IN_GRIDMAP_NO_USER_ENTRY = 3, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_GRIDMAP = 4, GLOBUS_GSI_GSS_ASSIST_ERROR_INVALID_GRIDMAP_FORMAT = 5, GLOBUS_GSI_GSS_ASSIST_ERROR_ERRNO = 6, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_INIT = 7, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_WRAP = 8, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_TOKEN = 9, GLOBUS_GSI_GSS_ASSIST_ERROR_EXPORTING_CONTEXT = 10, GLOBUS_GSI_GSS_ASSIST_ERROR_IMPORTING_CONTEXT = 11, GLOBUS_GSI_GSS_ASSIST_ERROR_INITIALIZING_CALLOUT_HANDLE = 12, GLOBUS_GSI_GSS_ASSIST_ERROR_WITH_CALLOUT_CONFIG = 13, GLOBUS_GSI_GSS_ASSIST_CALLOUT_ERROR = 14,…

  • |

    globus_gss_assist_authorization_host_name (3) Linux Manual Page

    globus_gss_assist.h – GSS Assist Header. Synopsis#include ‘gssapi.h’ #include <stdio.h> #include <stdlib.h> #include ‘globus_gss_assist_constants.h’ Macros#define GLOBUS_GSI_GSS_ASSIST_MODULE #define GlobusGssAssistFreeDNArray(dn_a) Free array of distinguished names. Functionsint globus_gss_assist_token_get_fd (void *arg, void **bufp, size_t *sizep) Get token from a FILE *. int globus_gss_assist_token_send_fd (void *arg, void *buf, size_t size) Send token via a FILE *. int globus_gss_assist_token_send_fd_ex (void *arg, void…

  • |

    globus_gss_assist_activation (3) Linux Manual Page

    Activation – Module Activation. Macros#define GLOBUS_GSI_GSS_ASSIST_MODULE Detailed DescriptionModule Activation. Globus GSI GSS Assist uses standard Globus module activation and deactivation. Before any Globus GSS Assist functions are called, the following function must be called: globus_module_activate(GLOBUS_GSI_GSS_ASSIST_MODULE);This function returns GLOBUS_SUCCESS if Globus GSI GSS Assist was successfully initialized, and you are therefore allowed to call GSS Assist…

  • |

    globus_gss_assist_acquire_cred_ext (3) Linux Manual Page

    Credential Management – Acquire Credential. FunctionsOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle) OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 *minor_status, char *desired_name_char, 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) Detailed DescriptionAcquire Credential. The functions in this section are used to acquire security credentials. Function DocumentationOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_tcred_usage, gss_cred_id_t *output_cred_handle)Called once…

  • |

    globus_gss_assist_acquire_cred (3) Linux Manual Page

    Credential Management – Acquire Credential. FunctionsOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_t cred_usage, gss_cred_id_t *output_cred_handle) OM_uint32 globus_gss_assist_acquire_cred_ext (OM_uint32 *minor_status, char *desired_name_char, 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) Detailed DescriptionAcquire Credential. The functions in this section are used to acquire security credentials. Function DocumentationOM_uint32 globus_gss_assist_acquire_cred (OM_uint32 *minor_status, gss_cred_usage_tcred_usage, gss_cred_id_t *output_cred_handle)Called once…

  • |

    globus_gss_assist_accept_sec_context_async (3) Linux Manual Page

    Security Context Management – Security Context Creation and Use. FunctionsOM_uint32 globus_gss_assist_accept_sec_context (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t cred_handle, char **src_name_char, OM_uint32 *ret_flags, int *user_to_user_flag, int *token_status, gss_cred_id_t *delegated_cred_handle, int(*gss_assist_get_token)(void *, void **, size_t *), void *gss_assist_get_context, int(*gss_assist_send_token)(void *, void *, size_t), void *gss_assist_send_context) Accept a Security Context. OM_uint32 globus_gss_assist_accept_sec_context_async (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t…

  • |

    globus_gss_assist_accept_sec_context (3) Linux Manual Page

    Security Context Management – Security Context Creation and Use. FunctionsOM_uint32 globus_gss_assist_accept_sec_context (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t cred_handle, char **src_name_char, OM_uint32 *ret_flags, int *user_to_user_flag, int *token_status, gss_cred_id_t *delegated_cred_handle, int(*gss_assist_get_token)(void *, void **, size_t *), void *gss_assist_get_context, int(*gss_assist_send_token)(void *, void *, size_t), void *gss_assist_send_context) Accept a Security Context. OM_uint32 globus_gss_assist_accept_sec_context_async (OM_uint32 *minor_status, gss_ctx_id_t *context_handle, const gss_cred_id_t…

  • |

    globus_gss_assist (3) Linux Manual Page

    Globus GSS Assist – Convenience Functions for GSSAPI. ModulesActivation Module Activation. Token Transport Send and Receive Security Tokens. Credential Management Acquire Credential. Security Context Management Security Context Creation and Use. GSSAPI Result Status Strings Display Error Status from a GSSAPI Result. Gridmap Authorization Gridmap Authorization and Local User Mapping. GSI GSS Assist Constants Constant Definitions….

  • |

    globus_gss_assist.h (3) Linux Manual Page

    globus_gss_assist.h – GSS Assist Header. Synopsis#include ‘gssapi.h’ #include <stdio.h> #include <stdlib.h> #include ‘globus_gss_assist_constants.h’ Macros#define GLOBUS_GSI_GSS_ASSIST_MODULE #define GlobusGssAssistFreeDNArray(dn_a) Free array of distinguished names. Functionsint globus_gss_assist_token_get_fd (void *arg, void **bufp, size_t *sizep) Get token from a FILE *. int globus_gss_assist_token_send_fd (void *arg, void *buf, size_t size) Send token via a FILE *. int globus_gss_assist_token_send_fd_ex (void *arg, void…

  • |

    globus_gsi_system_config_defines (3) Linux Manual Page

    Defines – Macros#define GLOBUS_GSI_SYSCONFIG_SET_KEY_PERMISSIONS #define GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR #define GLOBUS_GSI_SYSCONFIG_CHECK_KEYFILE #define GLOBUS_GSI_SYSCONFIG_CHECK_CERTFILE #define GLOBUS_GSI_SYSCONFIG_FILE_EXISTS #define GLOBUS_GSI_SYSCONFIG_DIR_EXISTS #define GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR #define GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_HOST_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SERVICE_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_PROXY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SIGNING_POLICY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_CA_CERT_FILES #define GLOBUS_GSI_SYSCONFIG_GET_CURRENT_WORKING_DIR #define GLOBUS_GSI_SYSCONFIG_MAKE_ABSOLUTE_PATH_FOR_FILENAME #define GLOBUS_GSI_SYSCONFIG_SPLIT_DIR_AND_FILENAME #define GLOBUS_GSI_SYSCONFIG_REMOVE_ALL_OWNED_FILES #define GLOBUS_GSI_SYSCONFIG_GET_GRIDMAP_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_AUTHZ_CONF_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_GAA_CONF_FILENAME #define GLOBUS_GSI_SYSCONFIG_IS_SUPERUSER #define GLOBUS_GSI_SYSCONFIG_GET_USER_ID_STRING #define GLOBUS_GSI_SYSCONFIG_GET_PROC_ID_STRING #define GLOBUS_GSI_SYSCONFIG_GET_USERNAME #define GLOBUS_GSI_SYSCONFIG_GET_UNIQUE_PROXY_FILENAME Detailed DescriptionThese preprocessor…

  • |

    globus_gsi_system_config_constants.h (3) Linux Manual Page

    globus_gsi_system_config_constants.h – Globus GSI System Config Library. SynopsisEnumerationsenum globus_gsi_sysconfig_error_t { GLOBUS_GSI_SYSCONFIG_ERROR_SUCCESS = 0, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_DIR = 1, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_STRING = 2, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_KEY_STRING = 3, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_HOME_DIR = 4, GLOBUS_GSI_SYSCONFIG_ERROR_ERRNO = 5, GLOBUS_GSI_SYSCONFIG_ERROR_CHECKING_FILE_EXISTS = 6, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CERT_FILENAME = 7, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_PROXY_FILENAME = 8, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_DELEG_FILENAME = 9, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CA_CERT_FILENAMES = 10, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_CWD = 11, GLOBUS_GSI_SYSCONFIG_ERROR_REMOVING_OWNED_FILES = 12, GLOBUS_GSI_SYSCONFIG_ERROR_GETTING_GRIDMAP_FILENAME = 13, GLOBUS_GSI_SYSCONFIG_ERROR_CHECKING_SUPERUSER = 14,…

  • |

    globus_gsi_system_config.h (3) Linux Manual Page

    globus_gsi_system_config.h – Globus GSI System Config Library. Synopsis#include ‘globus_common.h’ #include ‘globus_gsi_system_config_constants.h’ #include ‘openssl/x509.h’ Macros#define GLOBUS_GSI_SYSCONFIG_MODULE #define GLOBUS_GSI_SYSCONFIG_SET_KEY_PERMISSIONS #define GLOBUS_GSI_SYSCONFIG_GET_HOME_DIR #define GLOBUS_GSI_SYSCONFIG_CHECK_KEYFILE #define GLOBUS_GSI_SYSCONFIG_CHECK_CERTFILE #define GLOBUS_GSI_SYSCONFIG_FILE_EXISTS #define GLOBUS_GSI_SYSCONFIG_DIR_EXISTS #define GLOBUS_GSI_SYSCONFIG_GET_CERT_DIR #define GLOBUS_GSI_SYSCONFIG_GET_USER_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_HOST_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SERVICE_CERT_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_PROXY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_SIGNING_POLICY_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_CA_CERT_FILES #define GLOBUS_GSI_SYSCONFIG_GET_CURRENT_WORKING_DIR #define GLOBUS_GSI_SYSCONFIG_MAKE_ABSOLUTE_PATH_FOR_FILENAME #define GLOBUS_GSI_SYSCONFIG_SPLIT_DIR_AND_FILENAME #define GLOBUS_GSI_SYSCONFIG_REMOVE_ALL_OWNED_FILES #define GLOBUS_GSI_SYSCONFIG_GET_GRIDMAP_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_AUTHZ_CONF_FILENAME #define GLOBUS_GSI_SYSCONFIG_GET_GAA_CONF_FILENAME…

  • |

    globus_gsi_sysconfig_win32 (3) Linux Manual Page

    Functions for Win32 platforms – Functionsglobus_result_t globus_gsi_sysconfig_set_key_permissions_win32 (char *filename) Win32 – Set Key Permissions. globus_result_t globus_gsi_sysconfig_file_exists_win32 (const char *filename) Win32 – File Exists. globus_result_t globus_gsi_sysconfig_dir_exists_win32 (const char *filename) Win32 – Directory Exists. globus_result_t globus_gsi_sysconfig_get_current_working_dir_win32 (char **working_dir) Win32 – Get Current Working Directory. globus_result_t globus_gsi_sysconfig_make_absolute_path_for_filename_win32 (char *filename, char **absolute_path) Win32 – Make Absolute Path. globus_result_t globus_gsi_sysconfig_split_dir_and_filename_win32…

  • |

    globus_gsi_sysconfig_unix (3) Linux Manual Page

    Functions for UNIX platforms – Functionsglobus_result_t globus_gsi_sysconfig_set_key_permissions_unix (char *filename) UNIX – Set Key Permissions. globus_result_t globus_gsi_sysconfig_get_user_id_string_unix (char **user_id_string) UNIX – Get User ID. globus_result_t globus_gsi_sysconfig_get_username_unix (char **username) UNIX – Get Username. globus_result_t globus_gsi_sysconfig_get_proc_id_string_unix (char **proc_id_string) UNIX – Get Process ID. globus_result_t globus_gsi_sysconfig_make_absolute_path_for_filename_unix (char *filename, char **absolute_path) UNIX – Make Absolute Path. globus_result_t globus_gsi_sysconfig_split_dir_and_filename_unix (char *full_filename,…

  • |

    globus_gsi_sysconfig_split_dir_and_filename_win32 (3) Linux Manual Page

    Functions for Win32 platforms – Functionsglobus_result_t globus_gsi_sysconfig_set_key_permissions_win32 (char *filename) Win32 – Set Key Permissions. globus_result_t globus_gsi_sysconfig_file_exists_win32 (const char *filename) Win32 – File Exists. globus_result_t globus_gsi_sysconfig_dir_exists_win32 (const char *filename) Win32 – Directory Exists. globus_result_t globus_gsi_sysconfig_get_current_working_dir_win32 (char **working_dir) Win32 – Get Current Working Directory. globus_result_t globus_gsi_sysconfig_make_absolute_path_for_filename_win32 (char *filename, char **absolute_path) Win32 – Make Absolute Path. globus_result_t globus_gsi_sysconfig_split_dir_and_filename_win32…

  • |

    globus_gsi_sysconfig_split_dir_and_filename_unix (3) Linux Manual Page

    Functions for UNIX platforms – Functionsglobus_result_t globus_gsi_sysconfig_set_key_permissions_unix (char *filename) UNIX – Set Key Permissions. globus_result_t globus_gsi_sysconfig_get_user_id_string_unix (char **user_id_string) UNIX – Get User ID. globus_result_t globus_gsi_sysconfig_get_username_unix (char **username) UNIX – Get Username. globus_result_t globus_gsi_sysconfig_get_proc_id_string_unix (char **proc_id_string) UNIX – Get Process ID. globus_result_t globus_gsi_sysconfig_make_absolute_path_for_filename_unix (char *filename, char **absolute_path) UNIX – Make Absolute Path. globus_result_t globus_gsi_sysconfig_split_dir_and_filename_unix (char *full_filename,…

  • |

    globus_gsi_sysconfig_shared (3) Linux Manual Page

    Functions for all platforms – Functionsglobus_result_t globus_gsi_sysconfig_get_unique_proxy_filename (char **unique_filename) Get Unique Proxy Filename. Detailed DescriptionThese functions are platform independent members of the Globus GSI System Configuration API. Function Documentationglobus_result_t globus_gsi_sysconfig_get_unique_proxy_filename (char **unique_filename)Get Unique Proxy Filename. Get a unique proxy cert filename. This is mostly used for delegated proxy credentials. Each filename returned is going to…