globus_gsi_proxy_handle(3) | globus_gsi_proxy_core | globus_gsi_proxy_handle(3) |
globus_gsi_proxy_handle - Handle Management
- Create/Destroy/Modify a GSI Proxy Handle.
typedef struct globus_l_gsi_proxy_handle_s *
globus_gsi_proxy_handle_t
GSI Proxy Handle.
globus_result_t globus_gsi_proxy_handle_init
(globus_gsi_proxy_handle_t *handle,
globus_gsi_proxy_handle_attrs_t handle_attrs)
Initialize a GSI Proxy handle. globus_result_t
globus_gsi_proxy_handle_get_req (globus_gsi_proxy_handle_t
handle, X509_REQ **req)
Get the certificate request from a GSI Proxy handle. globus_result_t
globus_gsi_proxy_handle_get_private_key
(globus_gsi_proxy_handle_t handle, EVP_PKEY **proxy_key)
Get the private key from a GSI Proxy handle. globus_result_t
globus_gsi_proxy_handle_get_type (globus_gsi_proxy_handle_t
handle, globus_gsi_cert_utils_cert_type_t *type)
Get Proxy Type. globus_result_t globus_gsi_proxy_handle_set_type
(globus_gsi_proxy_handle_t handle, globus_gsi_cert_utils_cert_type_t
type)
Get Proxy Type. globus_result_t globus_gsi_proxy_handle_set_policy
(globus_gsi_proxy_handle_t handle, const unsigned char *policy_data,
int policy_length, int policy_language_NID)
Set Policy. globus_result_t globus_gsi_proxy_handle_get_policy
(globus_gsi_proxy_handle_t handle, unsigned char **policy_data, int
*policy_length, int *policy_NID)
Get Policy. globus_result_t globus_gsi_proxy_handle_add_extension
(globus_gsi_proxy_handle_t handle, X509_EXTENSION *ext)
Add X.509 Extensions. globus_result_t
globus_gsi_proxy_handle_set_extensions
(globus_gsi_proxy_handle_t handle, STACK_OF(X509_EXTENSION) *exts)
Set X.509 Extensions. globus_result_t
globus_gsi_proxy_handle_get_extensions
(globus_gsi_proxy_handle_t handle, STACK_OF(X509_EXTENSION) **exts)
Get X.509 Extensions. globus_result_t
globus_gsi_proxy_handle_set_pathlen (globus_gsi_proxy_handle_t
handle, long pathlen)
Set Path Length. globus_result_t globus_gsi_proxy_handle_get_pathlen
(globus_gsi_proxy_handle_t handle, int *pathlen)
Get Path Length. globus_result_t globus_gsi_proxy_handle_get_time_valid
(globus_gsi_proxy_handle_t handle, int *time_valid)
Get Time Valid. globus_result_t globus_gsi_proxy_handle_set_time_valid
(globus_gsi_proxy_handle_t handle, int time_valid)
Set Time Valid. globus_result_t globus_gsi_proxy_handle_clear_cert_info
(globus_gsi_proxy_handle_t handle)
Clear Cert Info. globus_result_t
globus_gsi_proxy_handle_get_proxy_cert_info_openssl
(globus_gsi_proxy_handle_t handle, PROXY_CERT_INFO_EXTENSION **pci)
Get Cert Info. globus_result_t
globus_gsi_proxy_handle_set_proxy_cert_info_openssl
(globus_gsi_proxy_handle_t handle, PROXY_CERT_INFO_EXTENSION *pci)
Set Cert Info. globus_result_t
globus_gsi_proxy_handle_get_signing_algorithm
(globus_gsi_proxy_handle_t handle, const EVP_MD **signing_algorithm)
Get Signing Algorithm. globus_result_t
globus_gsi_proxy_handle_get_keybits (globus_gsi_proxy_handle_t
handle, int *key_bits)
Get Key Bits. globus_result_t globus_gsi_proxy_handle_get_init_prime
(globus_gsi_proxy_handle_t handle, int *init_prime)
Get Init Prime. globus_result_t
globus_gsi_proxy_handle_get_clock_skew_allowable
(globus_gsi_proxy_handle_t handle, int *skew)
Get Clock Skew <> globus_result_t
globus_gsi_proxy_handle_get_key_gen_callback
(globus_gsi_proxy_handle_t handle, void(**callback)(int, int, void
*))
Get Callback for Creating Keys. globus_result_t
globus_gsi_proxy_handle_get_common_name
(globus_gsi_proxy_handle_t handle, char **common_name)
Get/Set Proxy Common Name. globus_result_t
globus_gsi_proxy_handle_set_is_limited
(globus_gsi_proxy_handle_t handle, globus_bool_t is_limited)
Set/Check Proxy Is Limited.
Create/Destroy/Modify a GSI Proxy Handle.
Within the Globus GSI Proxy Library, all proxy operations require a handle parameter. Currently, only one proxy operation may be in progress at once per proxy handle.
This section defines operations to create, modify and destroy GSI Proxy handles.
GSI Proxy Handle. An GSI Proxy handle is used to associate state with a group of operations. Handles can have immutable attributes associated with them. All proxy operations take a handle pointer as a parameter.
See also
Add X.509 Extensions. Add an X.509 extension to the GSI Proxy handle to be added to certificate
This function adds a X.509 extension to the proxy certificate.
Parameters
Returns
See also
globus_gsi_proxy_handle_set_extensions()
Clear Cert Info. Clear the proxy cert info extension stored in the GSI Proxy handle.
This function clears proxy cert info extension related setting in the GSI Proxy handle.
Parameters
Returns
Get Clock Skew <> Get the clock skew of the proxy handle
Parameters
Returns
Get/Set Proxy Common Name. Get the proxy common name stored in the GSI Proxy handle.
This function retrieves the proxy common name from the GSI Proxy handle. The common name only impacts draft compliant proxies.
Parameters
Returns
Get X.509 Extensions. Get the X.509 extensions from a GSI Proxy handle
This function returns the X.509 extensions from the proxy certificate.
Parameters
Returns
See also
globus_gsi_proxy_handle_set_extensions()
Get Init Prime. Get the init prime of the proxy handle
Parameters
Returns
Get Callback for Creating Keys. Get the callback for creating the public/private key pair
Parameters
Returns
Get Key Bits. Get the key bits used for the pub/private key pair of the proxy
Parameters
Returns
Get Path Length. Get the path length from the GSI Proxy handle.
This function gets the path length that is being used in the proxy cert info extension.
Parameters
Returns
See also
Get Policy. Get the policy from the GSI Proxy handle.
This function gets the policy that is being used in the proxy cert info extension.
Parameters
Returns
See also
Get the private key from a GSI Proxy handle. Copies the private key associated with the proxy handle to the value pointed to by the proxy_key parameter.
Parameters
Returns
See also
Get Cert Info. Get the proxy cert info extension stored in the GSI Proxy handle.
This function retrieves the proxy cert info extension from the GSI Proxy handle.
Parameters
Returns
Get the certificate request from a GSI Proxy handle. Copies the certificate request associated with the proxy handle to the req parameter.
Parameters
Returns
See also
Get Signing Algorithm. Get the signing algorithm used to sign the proxy cert request
Parameters
Return values
Get Time Valid. Get the validity time of the proxy
Parameters
Returns
Get Proxy Type. Determine the type of proxy that will be generated when using this handle.
Parameters
Returns
See also
Initialize a GSI Proxy handle. Initialize a proxy handle which can be used in subsequent operations. The handle may only be used in one sequence of operations at a time.
Parameters
Returns
See also
Set X.509 Extensions. Set the X.509 extensions from a GSI Proxy handle
This function sets the X.509 extensions for a proxy certificate.
Parameters
Returns
See also
globus_gsi_proxy_handle_get_extensions()
Set/Check Proxy Is Limited. Set the limited proxy flag on the proxy handle
Parameters
Returns
Set Path Length. Set the path length to be used in the GSI Proxy handle.
This function sets the path length to be used in the proxy cert info extension.
Parameters
Returns
See also
Set Policy. Set the policy to be used in the GSI Proxy handle.
This function sets the policy to be used in the proxy cert info extension.
Parameters
Returns
See also
Set Cert Info. Set the proxy cert info extension stored in the GSI Proxy handle.
This function sets the proxy cert info extension in the GSI Proxy handle.
Parameters
Return values
Set Time Valid. Set the validity time of the proxy
Parameters
Returns
Get Proxy Type. Set the type of proxy that will be generated when using this handle. Note that this will have no effect when generating a proxy from a proxy. In that case the generated proxy will inherit the type of the parent.
Parameters
Returns
See also
Generated automatically by Doxygen for globus_gsi_proxy_core from the source code.
Tue Jul 5 2022 | Version 9.8 |