Linux Manuals session 3

Section 3: library functions

  • |

    globus_gsi_extension_callback_t (3) Linux Manual Page

    NAME Globus GSI Callback – Modules Activation Callback Functions Callback Data Functions Typedefs typedef int(* globus_gsi_extension_callback_t )(globus_gsi_callback_data_t callback_data, X509_EXTENSION *extension) Detailed Description The Globus GSI Callback library. This library contains functions that extend OpenSSL path validation. • Activation • Callback Functions • Callback Data Functions Typedef Documentation typedef int(* globus_gsi_extension_callback_t)(globus_gsi_callback_data_t callback_data, X509_EXTENSION *extension) Typedef for…

  • |

    globus_gsi_credential_constants (3) Linux Manual Page

    NAME Credential Constants – Enumerations enum globus_gsi_cred_error_t { GLOBUS_GSI_CRED_ERROR_SUCCESS = 0, GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED = 1, GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED = 2, GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED = 3, GLOBUS_GSI_CRED_ERROR_READING_CRED = 4, GLOBUS_GSI_CRED_ERROR_WRITING_CRED = 5, GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED = 6, GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY = 7, GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED = 8, GLOBUS_GSI_CRED_ERROR_WITH_CRED = 9, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT = 10, GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY = 11, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN = 12, GLOBUS_GSI_CRED_ERROR_ERRNO = 13, GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG = 14, GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS =…

  • |

    globus_gsi_credential_activation (3) Linux Manual Page

    NAME Activation – Macros #define GLOBUS_GSI_CREDENTIAL_MODULE Detailed Description Globus GSI Credential uses standard Globus module activation and deactivation. Before any Globus GSI Credential functions are called, the following function must be called: * globus_module_activate(GLOBUS_GSI_CREDENTIAL_MODULE) * This function returns GLOBUS_SUCCESS if Globus GSI Credential was successfully initialized, and you are therefore allowed to subsequently call Globus…

  • |

    globus_gsi_credential (3) Linux Manual Page

    NAME Globus GSI Credential – Modules Activation Credential Handle Management Credential Handle Attributes Credential Operations Detailed Description The Globus GSI Credential library. This library contains functions that provide support for handling X.509 based PKI credentials • Activation • Credential Handle Management • Credential Handle Attributes • Credential Operations • Credential Constants Author Generated automatically by…

  • |

    globus_gsi_credential.h (3) Linux Manual Page

    globus_gsi_credential.h – Globus GSI Credential Library. Synopsis #include ‘globus_common.h’ #include ‘globus_error_openssl.h’ #include ‘globus_gsi_cred_constants.h’ #include ‘globus_gsi_callback.h’ #include ‘globus_gsi_cert_utils.h’ #include ‘openssl/x509.h’ #include ‘openssl/bio.h’ #include ‘openssl/ssl.h’ #include ‘globus_error_generic.h’ Macros #define GLOBUS_GSI_CREDENTIAL_MODULE Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" typedef struct globus_l_gsi_cred_handle_attrs_s * globus_gsi_cred_handle_attrs_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the…

  • |

    globus_gsi_cred_write_proxy (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_write (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_verify_cert_chain_when (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_verify_cert_chain (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_verify (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_type_t (3) Linux Manual Page

    NAME Credential Constants – Enumerations enum globus_gsi_cred_error_t { GLOBUS_GSI_CRED_ERROR_SUCCESS = 0, GLOBUS_GSI_CRED_ERROR_READING_PROXY_CRED = 1, GLOBUS_GSI_CRED_ERROR_READING_HOST_CRED = 2, GLOBUS_GSI_CRED_ERROR_READING_SERVICE_CRED = 3, GLOBUS_GSI_CRED_ERROR_READING_CRED = 4, GLOBUS_GSI_CRED_ERROR_WRITING_CRED = 5, GLOBUS_GSI_CRED_ERROR_WRITING_PROXY_CRED = 6, GLOBUS_GSI_CRED_ERROR_CHECKING_PROXY = 7, GLOBUS_GSI_CRED_ERROR_VERIFYING_CRED = 8, GLOBUS_GSI_CRED_ERROR_WITH_CRED = 9, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT = 10, GLOBUS_GSI_CRED_ERROR_WITH_CRED_PRIVATE_KEY = 11, GLOBUS_GSI_CRED_ERROR_WITH_CRED_CERT_CHAIN = 12, GLOBUS_GSI_CRED_ERROR_ERRNO = 13, GLOBUS_GSI_CRED_ERROR_SYSTEM_CONFIG = 14, GLOBUS_GSI_CRED_ERROR_WITH_CRED_HANDLE_ATTRS =…

  • |

    globus_gsi_cred_set_key (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_set_cert_chain (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_set_cert (3) Linux Manual Page

    NAME Credential Handle Management – Typedefs typedef struct globus_l_gsi_cred_handle_s * globus_gsi_cred_handle_t" Functions globus_result_t globus_gsi_cred_handle_init (globus_gsi_cred_handle_t *handle, globus_gsi_cred_handle_attrs_t handle_attrs) Initialize a Handle. globus_result_t globus_gsi_cred_handle_destroy (globus_gsi_cred_handle_t handle) Destroy the credential handle. globus_result_t globus_gsi_cred_handle_copy (globus_gsi_cred_handle_t source, globus_gsi_cred_handle_t *dest) Copy a handle. globus_result_t globus_gsi_cred_get_handle_attrs (globus_gsi_cred_handle_t handle, globus_gsi_cred_handle_attrs_t *attrs) Get the handle attributes. globus_result_t globus_gsi_cred_get_goodtill (globus_gsi_cred_handle_t cred_handle, time_t *goodtill) Get…

  • |

    globus_gsi_cred_read_proxy_bio (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_read_proxy (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_read_pkcs12 (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_read_key (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_read_cert_buffer (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…

  • |

    globus_gsi_cred_read_cert_bio (3) Linux Manual Page

    NAME Credential Operations – Functions globus_result_t globus_gsi_cred_read (globus_gsi_cred_handle_t handle, X509_NAME *desired_subject) Read a credential. globus_result_t globus_gsi_cred_read_proxy (globus_gsi_cred_handle_t handle, const char *proxy_filename) Read proxy credential. globus_result_t globus_gsi_cred_read_proxy_bio (globus_gsi_cred_handle_t handle, BIO *bio) Read proxy credential from a BIO. globus_result_t globus_gsi_cred_read_key (globus_gsi_cred_handle_t handle, const char *key_filename, int(*pw_cb)()) Read a private key. globus_result_t globus_gsi_cred_read_cert (globus_gsi_cred_handle_t handle, const char *cert_filename)…