.TH "globus_gsi_proxy_handle" 3 "Tue Nov 8 2016" "Version 8.6" "globus_gsi_proxy_core" \" -*- nroff -*-
.ad l
.nh
.SH NAME
globus_gsi_proxy_handle \- Handle Management
.PP
Create/Destroy/Modify a GSI Proxy Handle\&.  

.SS "Typedefs"

.in +1c
.ti -1c
.RI "typedef struct globus_l_gsi_proxy_handle_s * \fBglobus_gsi_proxy_handle_t\fP"
.br
.RI "GSI Proxy Handle\&. "
.in -1c
.SS "Functions"

.in +1c
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_init\fP (\fBglobus_gsi_proxy_handle_t\fP *handle, \fBglobus_gsi_proxy_handle_attrs_t\fP handle_attrs)"
.br
.RI "Initialize a GSI Proxy handle\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_req\fP (\fBglobus_gsi_proxy_handle_t\fP handle, X509_REQ **req)"
.br
.RI "Get the certificate request from a GSI Proxy handle\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_private_key\fP (\fBglobus_gsi_proxy_handle_t\fP handle, EVP_PKEY **proxy_key)"
.br
.RI "Get the private key from a GSI Proxy handle\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_type\fP (\fBglobus_gsi_proxy_handle_t\fP handle, globus_gsi_cert_utils_cert_type_t *type)"
.br
.RI "Get Proxy Type\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_type\fP (\fBglobus_gsi_proxy_handle_t\fP handle, globus_gsi_cert_utils_cert_type_t type)"
.br
.RI "Get Proxy Type\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_policy\fP (\fBglobus_gsi_proxy_handle_t\fP handle, const unsigned char *policy_data, int policy_length, int policy_language_NID)"
.br
.RI "Set Policy\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_policy\fP (\fBglobus_gsi_proxy_handle_t\fP handle, unsigned char **policy_data, int *policy_length, int *policy_NID)"
.br
.RI "Get Policy\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_add_extension\fP (\fBglobus_gsi_proxy_handle_t\fP handle, X509_EXTENSION *ext)"
.br
.RI "Add X\&.509 Extensions\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_extensions\fP (\fBglobus_gsi_proxy_handle_t\fP handle, STACK_OF(X509_EXTENSION) *exts)"
.br
.RI "Set X\&.509 Extensions\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_extensions\fP (\fBglobus_gsi_proxy_handle_t\fP handle, STACK_OF(X509_EXTENSION) **exts)"
.br
.RI "Get X\&.509 Extensions\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_pathlen\fP (\fBglobus_gsi_proxy_handle_t\fP handle, long pathlen)"
.br
.RI "Set Path Length\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_pathlen\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int *pathlen)"
.br
.RI "Get Path Length\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_time_valid\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int *time_valid)"
.br
.RI "Get Time Valid\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_time_valid\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int time_valid)"
.br
.RI "Set Time Valid\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_clear_cert_info\fP (\fBglobus_gsi_proxy_handle_t\fP handle)"
.br
.RI "Clear Cert Info\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_proxy_cert_info_openssl\fP (\fBglobus_gsi_proxy_handle_t\fP handle, PROXY_CERT_INFO_EXTENSION **pci)"
.br
.RI "Get Cert Info\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_proxy_cert_info_openssl\fP (\fBglobus_gsi_proxy_handle_t\fP handle, PROXY_CERT_INFO_EXTENSION *pci)"
.br
.RI "Set Cert Info\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_signing_algorithm\fP (\fBglobus_gsi_proxy_handle_t\fP handle, const EVP_MD **signing_algorithm)"
.br
.RI "Get Signing Algorithm\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_keybits\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int *key_bits)"
.br
.RI "Get Key Bits\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_init_prime\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int *init_prime)"
.br
.RI "Get Init Prime\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_clock_skew_allowable\fP (\fBglobus_gsi_proxy_handle_t\fP handle, int *skew)"
.br
.RI "Get Clock Skew\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_key_gen_callback\fP (\fBglobus_gsi_proxy_handle_t\fP handle, void(**callback)(int, int, void *))"
.br
.RI "Get Callback for Creating Keys\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_get_common_name\fP (\fBglobus_gsi_proxy_handle_t\fP handle, char **common_name)"
.br
.RI "Get/Set Proxy Common Name\&. "
.ti -1c
.RI "globus_result_t \fBglobus_gsi_proxy_handle_set_is_limited\fP (\fBglobus_gsi_proxy_handle_t\fP handle, globus_bool_t is_limited)"
.br
.RI "Set/Check Proxy Is Limited\&. "
.in -1c
.SH "Detailed Description"
.PP 
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\&.
.PP
This section defines operations to create, modify and destroy GSI Proxy handles\&. 
.SH "Typedef Documentation"
.PP 
.SS "typedef struct globus_l_gsi_proxy_handle_s* \fBglobus_gsi_proxy_handle_t\fP"

.PP
GSI Proxy Handle\&. An GSI Proxy handle is used to associate state with a group of operations\&. Handles can have immutable \fBattributes\fP associated with them\&. All proxy \fBoperations \fP take a handle pointer as a parameter\&.
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_init()\fP, \fBglobus_gsi_proxy_handle_destroy()\fP, \fBHandle Attributes\fP 
.RE
.PP

.SH "Function Documentation"
.PP 
.SS "globus_result_t globus_gsi_proxy_handle_add_extension (\fBglobus_gsi_proxy_handle_t\fP handle, X509_EXTENSION * ext)"

.PP
Add X\&.509 Extensions\&. Add an X\&.509 extension to the GSI Proxy handle to be added to certificate
.PP
This function adds a X\&.509 extension to the proxy certificate\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for the proxy to which the extension should be added\&. 
.br
\fIext\fP The extension to be added\&.
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the addition was successful, otherwise an error is returned\&.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_get_extensions()\fP 
.PP
\fBglobus_gsi_proxy_handle_set_extensions()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_clear_cert_info (\fBglobus_gsi_proxy_handle_t\fP handle)"

.PP
Clear Cert Info\&. Clear the proxy cert info extension stored in the GSI Proxy handle\&.
.PP
This function clears proxy cert info extension related setting in the GSI Proxy handle\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for which to clear the proxy cert info extension\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the handle is valid, otherwise an error is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_clock_skew_allowable (\fBglobus_gsi_proxy_handle_t\fP handle, int * skew)"

.PP
Get Clock Skew\&. Get the clock skew of the proxy handle
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to get the clock skew of 
.br
\fIskew\fP The resulting clock skew
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case an error object identifier (in the form of a globus_result_t) is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_common_name (\fBglobus_gsi_proxy_handle_t\fP handle, char ** common_name)"

.PP
Get/Set Proxy Common Name\&. Get the proxy common name stored in the GSI Proxy handle\&.
.PP
This function retrieves the proxy common name from the GSI Proxy handle\&. The common name only impacts draft compliant proxies\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle from which to get the proxy common name\&. 
.br
\fIcommon_name\fP Contains the proxy common name upon successful return\&. If the handle does not contain a common name, this parameter will be NULL upon return\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS upon success GLOBUS_GSI_PROXY_ERROR_WITH_HANDLE if handle is invalid 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_extensions (\fBglobus_gsi_proxy_handle_t\fP handle, STACK_OF(X509_EXTENSION) ** exts)"

.PP
Get X\&.509 Extensions\&. Get the X\&.509 extensions from a GSI Proxy handle
.PP
This function returns the X\&.509 extensions from the proxy certificate\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for the proxy from which the extensions should be retrieved\&. 
.br
\fIexts\fP The variable to hold the extensions\&. The caller is responsible for freeing the extensions with sk_X509_EXTENSION_free() when they are done with them\&.
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the retrieval was successful, otherwise an error is returned\&.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_add_extension()\fP 
.PP
\fBglobus_gsi_proxy_handle_set_extensions()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_init_prime (\fBglobus_gsi_proxy_handle_t\fP handle, int * init_prime)"

.PP
Get Init Prime\&. Get the init prime of the proxy handle
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to get the init prime used in generating the key pair 
.br
\fIinit_prime\fP The resulting init prime
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case an error object identifier (in the form of a globus_result_t) is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_key_gen_callback (\fBglobus_gsi_proxy_handle_t\fP handle, void(**)(int, int, void *) callback)"

.PP
Get Callback for Creating Keys\&. Get the callback for creating the public/private key pair
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The proxy handle to get the callback from 
.br
\fIcallback\fP Parameter used for returning the callback
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS or an error object identifier 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_keybits (\fBglobus_gsi_proxy_handle_t\fP handle, int * key_bits)"

.PP
Get Key Bits\&. Get the key bits used for the pub/private key pair of the proxy
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The proxy handle to get the key bits of 
.br
\fIkey_bits\fP key bits of the proxy handle
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned GLOBUS_SUCCESS 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_pathlen (\fBglobus_gsi_proxy_handle_t\fP handle, int * pathlen)"

.PP
Get Path Length\&. Get the path length from the GSI Proxy handle\&.
.PP
This function gets the path length that is being used in the proxy cert info extension\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to be interrogated\&. 
.br
\fIpathlen\fP The maximum allowable path length 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the handle is valid, otherwise an error is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_pathlen()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_policy (\fBglobus_gsi_proxy_handle_t\fP handle, unsigned char ** policy_data, int * policy_length, int * policy_NID)"

.PP
Get Policy\&. Get the policy from the GSI Proxy handle\&.
.PP
This function gets the policy that is being used in the proxy cert info extension\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to be interrogated\&. 
.br
\fIpolicy_data\fP The policy data\&. 
.br
\fIpolicy_length\fP The length of the returned policy 
.br
\fIpolicy_NID\fP The NID of the policy language\&.
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the handle is valid, otherwise an error is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_policy()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_private_key (\fBglobus_gsi_proxy_handle_t\fP handle, EVP_PKEY ** proxy_key)"

.PP
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\&. 
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle from which to get the private key 
.br
\fIproxy_key\fP Parameter used to return the key\&. It is the users responsibility to free the returned key by calling EVP_PKEY_free()\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_private_key()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_proxy_cert_info_openssl (\fBglobus_gsi_proxy_handle_t\fP handle, PROXY_CERT_INFO_EXTENSION ** pci)"

.PP
Get Cert Info\&. Get the proxy cert info extension stored in the GSI Proxy handle\&.
.PP
This function retrieves the proxy cert info extension from the GSI Proxy handle\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle from which to get the proxy cert info extension\&. 
.br
\fIpci\fP Contains the proxy cert info extension upon successful return\&. If the handle does not contain a pci extension, this parameter will be NULL upon return\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS upon success GLOBUS_GSI_PROXY_ERROR_WITH_HANDLE if handle is invalid GLOBUS_GSI_PROXY_ERROR_WITH_PROXYCERTINFO if the pci pointer is invalid or if the get failed\&. 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_req (\fBglobus_gsi_proxy_handle_t\fP handle, X509_REQ ** req)"

.PP
Get the certificate request from a GSI Proxy handle\&. Copies the certificate request associated with the proxy handle to the req parameter\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle from which to get the certificate request 
.br
\fIreq\fP Parameter used to return the request\&. It is the users responsibility to free the returned request\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_req()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_signing_algorithm (\fBglobus_gsi_proxy_handle_t\fP handle, const EVP_MD ** signing_algorithm)"

.PP
Get Signing Algorithm\&. Get the signing algorithm used to sign the proxy cert request
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The proxy handle containing the type of signing algorithm used 
.br
\fIsigning_algorithm\fP signing algorithm of the proxy handle
.RE
.PP
\fBReturn values:\fP
.RS 4
\fIGLOBUS_SUCCESS\fP unless an error occurred, in which case, a globus error object ID is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_time_valid (\fBglobus_gsi_proxy_handle_t\fP handle, int * time_valid)"

.PP
Get Time Valid\&. Get the validity time of the proxy
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The proxy handle to get the expiration date of 
.br
\fItime_valid\fP expiration date of the proxy handle
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_get_type (\fBglobus_gsi_proxy_handle_t\fP handle, globus_gsi_cert_utils_cert_type_t * type)"

.PP
Get Proxy Type\&. Determine the type of proxy that will be generated when using this handle\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle from which to get the type 
.br
\fItype\fP Parameter used to return the type\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_type()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_init (\fBglobus_gsi_proxy_handle_t\fP * handle, \fBglobus_gsi_proxy_handle_attrs_t\fP handle_attrs)"

.PP
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\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP A pointer to the handle to be initialized\&. If the handle is originally NULL, space is allocated for it\&. Otherwise, the current values of the handle are overwritten\&.
.br
\fIhandle_attrs\fP Initial attributes to be used to create this handle\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_destroy()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_extensions (\fBglobus_gsi_proxy_handle_t\fP handle, STACK_OF(X509_EXTENSION) * exts)"

.PP
Set X\&.509 Extensions\&. Set the X\&.509 extensions from a GSI Proxy handle
.PP
This function sets the X\&.509 extensions for a proxy certificate\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for the proxy from which the extension should be set\&. 
.br
\fIexts\fP The extensions to be set\&. Can be NULL to clear extensions\&.
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the addition was successful, otherwise an error is returned\&.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_add_extension()\fP 
.PP
\fBglobus_gsi_proxy_handle_get_extensions()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_is_limited (\fBglobus_gsi_proxy_handle_t\fP handle, globus_bool_t is_limited)"

.PP
Set/Check Proxy Is Limited\&. Set the limited proxy flag on the proxy handle
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP the proxy handle 
.br
\fIis_limited\fP boolean value to set on the proxy handle
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_pathlen (\fBglobus_gsi_proxy_handle_t\fP handle, long pathlen)"

.PP
Set Path Length\&. Set the path length to be used in the GSI Proxy handle\&.
.PP
This function sets the path length to be used in the proxy cert info extension\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to be modified\&. 
.br
\fIpathlen\fP The maximum allowable path length 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the handle is valid, otherwise an error is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_get_pathlen()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_policy (\fBglobus_gsi_proxy_handle_t\fP handle, const unsigned char * policy_data, int policy_length, int policy_language_NID)"

.PP
Set Policy\&. Set the policy to be used in the GSI Proxy handle\&.
.PP
This function sets the policy to be used in the proxy cert info extension\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle to be modified\&. 
.br
\fIpolicy_data\fP The policy data\&. 
.br
\fIpolicy_length\fP The length of the policy data 
.br
\fIpolicy_language_NID\fP The NID of the policy language\&.
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS if the handle and its associated fields are valid otherwise an error is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_get_policy()\fP 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_proxy_cert_info_openssl (\fBglobus_gsi_proxy_handle_t\fP handle, PROXY_CERT_INFO_EXTENSION * pci)"

.PP
Set Cert Info\&. Set the proxy cert info extension stored in the GSI Proxy handle\&.
.PP
This function sets the proxy cert info extension in the GSI Proxy handle\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for which to set the proxy cert info extension\&. 
.br
\fIpci\fP The proxy cert info extension to set\&. 
.RE
.PP
\fBReturn values:\fP
.RS 4
\fIGLOBUS_SUCCESS\fP Success 
.br
\fIGLOBUS_GSI_PROXY_ERROR_WITH_HANDLE\fP Handle is invalid 
.br
\fIGLOBUS_GSI_PROXY_ERROR_WITH_PROXYCERTINFO\fP pci pointer is invalid or if the set failed\&. 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_time_valid (\fBglobus_gsi_proxy_handle_t\fP handle, int time_valid)"

.PP
Set Time Valid\&. Set the validity time of the proxy
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The proxy handle to set the expiration date for 
.br
\fItime_valid\fP desired expiration date of the proxy
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned GLOBUS_SUCCESS 
.RE
.PP

.SS "globus_result_t globus_gsi_proxy_handle_set_type (\fBglobus_gsi_proxy_handle_t\fP handle, globus_gsi_cert_utils_cert_type_t type)"

.PP
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\&.
.PP
\fBParameters:\fP
.RS 4
\fIhandle\fP The handle for which to set the type 
.br
\fItype\fP Parameter used to pass the type\&. 
.RE
.PP
\fBReturns:\fP
.RS 4
GLOBUS_SUCCESS unless an error occurred, in which case, a globus error object ID is returned
.RE
.PP
\fBSee also:\fP
.RS 4
\fBglobus_gsi_proxy_handle_set_type()\fP 
.RE
.PP

.SH "Author"
.PP 
Generated automatically by Doxygen for globus_gsi_proxy_core from the source code\&.