22 #ifndef GLOBUS_GLOBUS_GSI_PROXY_H
23 #define GLOBUS_GLOBUS_GSI_PROXY_H
25 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
67 #ifndef GLOBUS_DONT_DOCUMENT_INTERNAL
68 #include "globus_gsi_credential.h"
69 #include "globus_error_generic.h"
70 #include "globus_error_openssl.h"
71 #include "openssl/evp.h"
72 #include "proxycertinfo.h"
113 #define GLOBUS_GSI_PROXY_MODULE (&globus_i_gsi_proxy_module)
116 globus_module_descriptor_t globus_i_gsi_proxy_module;
118 #define _PCSL(s) globus_common_i18n_get_string(\
119 GLOBUS_GSI_PROXY_MODULE, \
137 typedef struct globus_l_gsi_proxy_handle_s *
175 globus_gsi_proxy_handle_t * handle,
176 globus_gsi_proxy_handle_attrs_t handle_attrs);
179 globus_gsi_proxy_handle_destroy(
180 globus_gsi_proxy_handle_t handle);
184 globus_gsi_proxy_handle_t handle,
188 globus_gsi_proxy_handle_set_req(
189 globus_gsi_proxy_handle_t handle,
194 globus_gsi_proxy_handle_t handle,
195 EVP_PKEY ** proxy_key);
198 globus_gsi_proxy_handle_set_private_key(
199 globus_gsi_proxy_handle_t handle,
200 EVP_PKEY * proxy_key);
204 globus_gsi_proxy_handle_t handle,
205 globus_gsi_cert_utils_cert_type_t * type);
209 globus_gsi_proxy_handle_t handle,
210 globus_gsi_cert_utils_cert_type_t type);
215 globus_gsi_proxy_handle_t handle,
220 globus_gsi_proxy_handle_t handle,
225 globus_gsi_proxy_handle_t handle,
226 unsigned char * policy_data,
232 globus_gsi_proxy_handle_t handle,
233 unsigned char ** policy_data,
239 globus_gsi_proxy_handle_t handle,
240 X509_EXTENSION * extension);
244 globus_gsi_proxy_handle_t handle,
245 STACK_OF(X509_EXTENSION)* extensions);
249 globus_gsi_proxy_handle_t handle,
250 STACK_OF(X509_EXTENSION)** extension);
254 globus_gsi_proxy_handle_t handle,
259 globus_gsi_proxy_handle_t handle,
264 globus_gsi_proxy_handle_t handle);
268 globus_gsi_proxy_handle_t handle,
269 PROXYCERTINFO ** pci);
273 globus_gsi_proxy_handle_t handle,
274 PROXYCERTINFO * pci);
278 globus_gsi_proxy_handle_t handle,
279 char ** common_name);
282 globus_gsi_proxy_handle_set_common_name(
283 globus_gsi_proxy_handle_t handle,
287 globus_gsi_proxy_is_limited(
288 globus_gsi_proxy_handle_t handle,
289 globus_bool_t * is_limited);
293 globus_gsi_proxy_handle_t handle,
294 globus_bool_t is_limited);
298 globus_gsi_proxy_handle_t handle,
299 EVP_MD ** algorithm);
303 globus_gsi_proxy_handle_t handle,
308 globus_gsi_proxy_handle_t handle,
313 globus_gsi_proxy_handle_t handle,
318 globus_gsi_proxy_handle_t handle,
319 void (**callback)(
int,
int,
void *));
340 globus_gsi_proxy_handle_attrs_t * handle_attrs);
344 globus_gsi_proxy_handle_attrs_t handle_attrs);
348 globus_gsi_proxy_handle_attrs_t a,
349 globus_gsi_proxy_handle_attrs_t * b);
369 globus_gsi_proxy_handle_t handle,
374 globus_gsi_proxy_handle_t handle,
379 globus_gsi_proxy_handle_t handle,
380 globus_gsi_cred_handle_t issuer_credential,
385 globus_gsi_proxy_handle_t handle,
386 globus_gsi_cred_handle_t issuer_credential,
387 globus_gsi_cred_handle_t peer_credential,
388 globus_gsi_cred_handle_t * resigned_credential);
392 globus_gsi_proxy_handle_t handle,
393 globus_gsi_cred_handle_t * proxy_credential,
398 globus_gsi_proxy_handle_t handle,
399 globus_gsi_cred_handle_t issuer,
400 globus_gsi_cred_handle_t * proxy_credential);
404 globus_gsi_proxy_handle_attrs_t handle_attrs,
409 globus_gsi_proxy_handle_attrs_t handle_attrs,
414 globus_gsi_proxy_handle_attrs_t handle_attrs,
419 globus_gsi_proxy_handle_attrs_t handle_attrs,
424 globus_gsi_proxy_handle_attrs_t handle_attrs,
429 globus_gsi_proxy_handle_attrs_t handle_attrs,
430 EVP_MD ** algorithm);
434 globus_gsi_proxy_handle_attrs_t handle,
439 globus_gsi_proxy_handle_attrs_t handle,
444 globus_gsi_proxy_handle_attrs_t handle,
445 void (**callback)(
int,
int,
void *));
449 globus_gsi_proxy_handle_attrs_t handle,
450 void (*callback)(
int,
int,
void *));