GLOBUS_GSI_CALLBACK_CHECK_ISSUED(3)
π globus_gsi_callback_functions β Callback Functions π
okay bestie, so this is a page from the Library Functions Manual, section 3 β that's the one for library calls, iykyk. The whole thing is globus_gsi_callback_functions(3), and it's basically the group chat where OpenSSL's path validation meets Globus's GSI β¨ stuff. Sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
globus_gsi_callback_functions β Callback Functions
- Callback Functions.
β¨ SYNOPSIS β¨
π Functions
globus_result_t globus_gsi_callback_get_X509_STORE_callback_data_index(int *index)β Get callback data index from X509_STORE.globus_result_t globus_gsi_callback_get_SSL_callback_data_index(int *index)β Get callback data index from SSL structure.int globus_gsi_callback_X509_verify_cert(X509_STORE_CTX *context, void *arg)β Certificate verify wrapper.int globus_gsi_callback_create_proxy_callback(int preverify_ok, X509_STORE_CTX *x509_context)β Independent path validation callback.int globus_gsi_callback_handshake_callback(int preverify_ok, X509_STORE_CTX *x509_context)β SSL path validation callback.int globus_gsi_callback_check_issued(X509_STORE_CTX *context, X509 *cert, X509 *issuer)β OpenSSLX509_check_issued()wrapper.
π Detailed Description π
Callback Functions.
These are the little functions that plug into all the various plug points π§ in the OpenSSL path validation mechanism. Like, they slide in and add CRL checking, X509 Extension handling, and proxy validation. That's the whole vibe. no cap. π
π Function Documentation π
π int globus_gsi_callback_check_issued (X509_STORE_CTX * context, X509 * cert, X509 * issuer)
OpenSSL X509_check_issued() wrapper. So this one wraps the OpenSSL X509_check_issued() call and catches the error that happens because a proxy certificate issuer might not have to have the correct KeyUsage fields set. it's giving "rules were made to be bent" but for certs π
Parameters
contextβ The validation state object.certβ The certificate to checkissuerβ The issuer certificate to check
Returns
1 on success, 0 on failure
π¦ int globus_gsi_callback_create_proxy_callback (int preverify_ok, X509_STORE_CTX * x509_context)
Independent path validation callback. This function provides a path validation callback for validation outside of a SSL session. It should be used in X509_STORE_set_verify_cb_func().
Parameters
preverify_okβ Communicates the result of default validation steps performed by OpenSSLx509_contextβ The validation state object
Returns
1 on success, 0 on failure
π globus_result_t globus_gsi_callback_get_SSL_callback_data_index (int * index)
Get callback data index from SSL structure. Retrieve or create the index for our callback data structure in the SSL structure. iconic behavior honestly β¨
Parameters
indexβ Will contain the index upon return
Returns
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
πΈ globus_result_t globus_gsi_callback_get_X509_STORE_callback_data_index (int * index)
Get callback data index from X509_STORE. Retrieve or create the index for our callback data structure in the X509_STORE.
Parameters
indexβ Will contain the index upon return
Returns
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
β int globus_gsi_callback_handshake_callback (int preverify_ok, X509_STORE_CTX * x509_context)
SSL path validation callback. This function provides a path validation callback for the validation part of establishing a SSL session. It handles proxy certificates, X509 Extensions and CRL checking. It should be used in SSL_CTX_set_verify(). main character callback fr fr π
Parameters
preverify_okβ Communicates the result of default validation steps performed by OpenSSLx509_contextβ The validation state object.
Returns
1 on success, 0 on failure
π int globus_gsi_callback_X509_verify_cert (X509_STORE_CTX * context, void * arg)
Certificate verify wrapper. This function wraps the OpenSSL certificate verification callback for the purpose of replacing the standard issuer check with one that deals with proxy certificates. Should be used with SSL_CTX_set_cert_verify_callback().
Parameters
contextβ TheX509_STORE_CTXfor which to register the callback.argβ Arguments to the callback. Currently ignored. π
Returns
1 on success, 0 on failure
π«Ά Author π«Ά
Generated automatically by Doxygen for globus_gsi_callback from the source code. (not a human, just a robot doing its lil thing π€β¨)
lowkey the whole point: these callbacks are how you make OpenSSL's path validation understand proxy certs and CRLs. plug them in at the right spots and you're golden π
okay that's the page!! ty for reading, mwah π this was globus_gsi_callback, Version 6.2, straight from the globus_gsi_callback source β slay, periodt. πβ¨π¦
π¦ where this page comes from
- epel 10: globus-gsi-callback-doc 6.2-8.el10_0 Β· Apache-2.0
- fedora 43: globus-gsi-callback-doc 6.2-13.fc43 Β· Apache-2.0
- fedora 44: globus-gsi-callback-doc 6.2-14.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gsi-callback-doc 6.2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms