GLOBUS_GSI_PROXY_HANDLE_ATTRS_SET_KEYBITS(3)
π NAME π
okay so bestie, welcome to globus_gsi_proxy_handle_attrs(3) β a lil section 3 number from the Library Functions Manual β and it is literally all about Handle Attributes β¨
- Handle Attributes.
β¨ SYNOPSIS β¨
π¦ Typedefs
typedef struct globus_l_gsi_proxy_handle_attrs_s *
globus_gsi_proxy_handle_attrs_t
Handle Attributes.
πΈ Functions
globus_result_t globus_gsi_proxy_handle_attrs_init(globus_gsi_proxy_handle_attrs_t *handle_attrs)β Initialize Attributes.globus_result_t globus_gsi_proxy_handle_attrs_destroy(globus_gsi_proxy_handle_attrs_t handle_attrs)β Destroy attributes.globus_result_t globus_gsi_proxy_handle_attrs_set_keybits(globus_gsi_proxy_handle_attrs_t handle_attrs, int bits)β Set Key Bits.globus_result_t globus_gsi_proxy_handle_attrs_get_keybits(globus_gsi_proxy_handle_attrs_t handle_attrs, int *bits)β Get Key Bits.globus_result_t globus_gsi_proxy_handle_attrs_set_init_prime(globus_gsi_proxy_handle_attrs_t handle_attrs, int prime)β Set Initial Prime Number.globus_result_t globus_gsi_proxy_handle_attrs_get_init_prime(globus_gsi_proxy_handle_attrs_t handle_attrs, int *prime)β Get Initial Prime Number.globus_result_t globus_gsi_proxy_handle_attrs_set_signing_algorithm(globus_gsi_proxy_handle_attrs_t handle_attrs, const EVP_MD *algorithm)β Set Signing Algorithm.globus_result_t globus_gsi_proxy_handle_attrs_get_signing_algorithm(globus_gsi_proxy_handle_attrs_t handle_attrs, const EVP_MD **algorithm)β Get Signing Algorithm.globus_result_t globus_gsi_proxy_handle_attrs_set_clock_skew_allowable(globus_gsi_proxy_handle_attrs_t handle_attrs, int skew)β Set Clock Skew Allowable.globus_result_t globus_gsi_proxy_handle_attrs_get_clock_skew_allowable(globus_gsi_proxy_handle_attrs_t handle_attrs, int *skew)β Get Clock Skew Allowable.globus_result_t globus_gsi_proxy_handle_attrs_get_key_gen_callback(globus_gsi_proxy_handle_attrs_t handle_attrs, void(**callback)(int, int, void *))β Get Key Gen Callback.globus_result_t globus_gsi_proxy_handle_attrs_set_key_gen_callback(globus_gsi_proxy_handle_attrs_t handle_attrs, void(*callback)(int, int, void *))β Set Key Gen Callback.globus_result_t globus_gsi_proxy_handle_attrs_copy(globus_gsi_proxy_handle_attrs_t a, globus_gsi_proxy_handle_attrs_t *b)β Copy Attributes.
π¦ DETAILED DESCRIPTION π¦
Handle Attributes.
Handle attributes are used to control additional features of the GSI Proxy handle. These features are operation independent.
Currently there are no attributes. π (yes, the whole file is a vibe, we move.)
See also
globus_gsi_proxy_handle_t
π TYPEDEF DOCUMENTATION π
π typedef struct globus_l_gsi_proxy_handle_attrs_s* globus_gsi_proxy_handle_attrs_t
Handle Attributes. A GSI Proxy handle attributes type is used to associate immutable parameter values with a Handle Management handle. A handle attributes object should be created with immutable parameters and then passed to the proxy handle init function globus_gsi_proxy_handle_init().
See also
- Handle Management
π FUNCTION DOCUMENTATION π
π globus_result_t globus_gsi_proxy_handle_attrs_copy(globus_gsi_proxy_handle_attrs_t a, globus_gsi_proxy_handle_attrs_t * b)
Copy Attributes. Make a copy of GSI Proxy handle attributes π«Ά
Parameters
aThe handle attributes to copybThe copy
Returns
GLOBUS_SUCCESS
π globus_result_t globus_gsi_proxy_handle_attrs_destroy(globus_gsi_proxy_handle_attrs_t handle_attrs)
Destroy attributes. Destroy the GSI Proxy handle attributes ποΈ
Parameters
handle_attrsThe handle attributes to be destroyed.
Returns
GLOBUS_SUCCESS
See also
globus_gsi_proxy_handle_attrs_init()
π globus_result_t globus_gsi_proxy_handle_attrs_get_clock_skew_allowable(globus_gsi_proxy_handle_attrs_t handle_attrs, int * skew)
Get Clock Skew Allowable. Get the allowable clock skew for the proxy certificate β°
Parameters
handle_attrsThe handle_attrs to get the clock skew fromskewThe allowable clock skew (in seconds) to get from the proxy certificate request. This value gets set by the function, so it needs to be a pointer.
Returns
GLOBUS_SUCCESSif the handle_attrs is valid, otherwise an error is returned
π globus_result_t globus_gsi_proxy_handle_attrs_get_init_prime(globus_gsi_proxy_handle_attrs_t handle_attrs, int * prime)
Get Initial Prime Number. Get the initial prime number used for generating the public key pair in the RSA algorithm π’
Parameters
handle_attrsThe attributes to get the initial prime number fromprimeThe initial prime number taken from the attributes
Returns
GLOBUS_SUCCESS
π globus_result_t globus_gsi_proxy_handle_attrs_get_key_gen_callback(globus_gsi_proxy_handle_attrs_t handle_attrs, void(** callback )(int, int, void *))
Get Key Gen Callback. Get the public/private key generation callback that provides status during the generation of the keys π
Parameters
handle_attrsThe handle_attrs to get the callback fromcallbackThe callback from the handle attributes
Returns
GLOBUS_SUCCESSif the handle_attrs is valid, otherwise an error is returned
π globus_result_t globus_gsi_proxy_handle_attrs_get_keybits(globus_gsi_proxy_handle_attrs_t handle_attrs, int * bits)
Get Key Bits. Gets the length of the public key pair used by the proxy certificate π
Parameters
handle_attrsthe attributes to get the key length frombitsthe length of the key pair in bits
Returns
GLOBUS_SUCCESS
π globus_result_t globus_gsi_proxy_handle_attrs_get_signing_algorithm(globus_gsi_proxy_handle_attrs_t handle_attrs, const EVP_MD ** algorithm)
Get Signing Algorithm. Gets the Signing Algorithm to used to sign the certificate request. In most cases, the signing party will ignore this value, and sign with an algorithm of its choice. π
Parameters
handle_attrsThe proxy handle_attrs to get the signing algorithm ofalgorithmParameter used to return the signing algorithm used
Returns
- Returns
GLOBUS_SUCCESSif the handle is valid, otherwise an error object is returned.
π globus_result_t globus_gsi_proxy_handle_attrs_init(globus_gsi_proxy_handle_attrs_t * handle_attrs)
Initialize Attributes. Initialize GSI Proxy Handle Attributes. π±
Initialize proxy handle attributes, which can (and should) be associated with a proxy handle. For most purposes, these attributes should primarily be used by the proxy handle.
Currently, no attribute values are initialized.
Parameters
handle_attrsThe handle attributes structure to be initialized
Returns
GLOBUS_SUCCESSunless an error occurred, in which case, a globus error object ID is returned
See also
globus_gsi_proxy_handle_attrs_destroy()
π globus_result_t globus_gsi_proxy_handle_attrs_set_clock_skew_allowable(globus_gsi_proxy_handle_attrs_t handle_attrs, int skew)
Set Clock Skew Allowable. Sets the clock skew in minutes of the proxy cert request so that time differences between hosts won't cause problems. This value defaults to 5 minutes. β³
Parameters
handle_attrsthe handle_attrs containing the clock skew to be setskewthe amount to skew by (in seconds)
not me pointing out that the description says minutes and the param says seconds π that's literally what the source says, bestie, I don't make the rules.
Returns
GLOBUS_SUCCESSif the handle_attrs is valid - otherwise an error is returned.
π globus_result_t globus_gsi_proxy_handle_attrs_set_init_prime(globus_gsi_proxy_handle_attrs_t handle_attrs, int prime)
Set Initial Prime Number. Set the initial prime number used for generating public key pairs in the RSA algorithm π
Parameters
handle_attrsThe attributes to setprimeThe prime number to set it to This value needs to be a prime number
Returns
GLOBUS_SUCCESS
π globus_result_t globus_gsi_proxy_handle_attrs_set_key_gen_callback(globus_gsi_proxy_handle_attrs_t handle_attrs, void(* callback )(int, int, void *))
Set Key Gen Callback. Set the public/private key generation callback that provides status during the generation of the keys π
Parameters
handle_attrsThe handle_attrs to get the callback fromcallbackThe callback from the handle attributes
Returns
GLOBUS_SUCCESSif the handle_attrs is valid, otherwise an error is returned
π globus_result_t globus_gsi_proxy_handle_attrs_set_keybits(globus_gsi_proxy_handle_attrs_t handle_attrs, int bits)
Set Key Bits. Set the length of the public key pair used by the proxy certificate π
Parameters
handle_attrsthe attributes to setbitsthe length to set it to (usually1024)
Returns
GLOBUS_SUCCESS
π globus_result_t globus_gsi_proxy_handle_attrs_set_signing_algorithm(globus_gsi_proxy_handle_attrs_t handle_attrs, const EVP_MD * algorithm)
Set Signing Algorithm. Sets the Signing Algorithm to be used to sign the certificate request. In most cases, the signing party will ignore this value, and sign with an algorithm of its choice. π
Parameters
handle_attrsThe proxy handle to set the signing algorithm ofalgorithmThe signing algorithm to set
Returns
- Returns
GLOBUS_SUCCESSif the handle is valid, otherwise an error object is returned.
π AUTHOR π
Generated automatically by Doxygen for globus_gsi_proxy_core from the source code.
and that's the whole page, bestie π«Ά slay, you now know every single function in globus_gsi_proxy_handle_attrs fr fr. this was globus_gsi_proxy_core, Version 9.9, section 3 of the Library Functions Manual β periodt π
β¨
π¦ where this page comes from
- epel 10: globus-gsi-proxy-core-doc 9.9-1.el10_2 Β· Apache-2.0
- fedora 43: globus-gsi-proxy-core-doc 9.9-1.fc43 Β· Apache-2.0
- fedora 44: globus-gsi-proxy-core-doc 9.9-1.fc44 Β· Apache-2.0
- ubuntu resolute: libglobus-gsi-proxy-core-doc 9.9-1 Β· Apache-2.0
- ubuntu stonking: libglobus-gsi-proxy-core-doc 9.9-2build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms