globus_gsi_callback  5.6
 All Files Functions Typedefs Enumerations Enumerator Macros Groups Pages
globus_gsi_callback.h
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2006 University of Chicago
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef GLOBUS_GSI_CALLBACK_H
18 #define GLOBUS_GSI_CALLBACK_H
19 
27 #include "globus_common.h"
28 #include "globus_gsi_cert_utils.h"
29 #include "openssl/x509.h"
30 
31 #ifndef GLOBUS_GLOBAL_DOCUMENT_SET
32 
36 #endif
37 
79 #ifdef __cplusplus
80 extern "C" {
81 #endif
82 
88 #define GLOBUS_GSI_CALLBACK_MODULE (&globus_i_gsi_callback_module)
89 
90 extern
91 globus_module_descriptor_t globus_i_gsi_callback_module;
92 
93 #define _CLS(s) globus_common_i18n_get_string(GLOBUS_GSI_CALLBACK_MODULE,\
94  s)
95 
117 typedef struct globus_l_gsi_callback_data_s *
119 
125  globus_gsi_callback_data_t callback_data,
126  X509_EXTENSION * extension);
127 
128 #ifndef DOXYGEN
129 
130 globus_result_t
132  int * index);
133 
134 globus_result_t
136  int * index);
137 
138 int
140  int preverify_ok,
141  X509_STORE_CTX * x509_context);
142 
143 int
145  int preverify_ok,
146  X509_STORE_CTX * x509_context);
147 
149  X509_STORE_CTX * context,
150  X509 * cert,
151  X509 * issuer);
152 
153 int
155  X509_STORE_CTX * context,
156  void * arg);
157 
158 globus_result_t
160  globus_gsi_callback_data_t * callback_data);
161 
162 globus_result_t
164  globus_gsi_callback_data_t callback_data);
165 
166 globus_result_t
168  globus_gsi_callback_data_t source,
169  globus_gsi_callback_data_t * dest);
170 
171 globus_result_t
173  globus_gsi_callback_data_t callback_data,
174  int * cert_depth);
175 
176 globus_result_t
178  globus_gsi_callback_data_t callback_data,
179  int cert_depth);
180 
181 globus_result_t
183  globus_gsi_callback_data_t callback_data,
184  int * proxy_depth);
185 
186 globus_result_t
188  globus_gsi_callback_data_t callback_data,
189  int proxy_depth);
190 
191 globus_result_t
193  globus_gsi_callback_data_t callback_data,
194  globus_gsi_cert_utils_cert_type_t cert_type);
195 
196 globus_result_t
198  globus_gsi_callback_data_t callback_data,
199  globus_gsi_cert_utils_cert_type_t * cert_type);
200 
201 globus_result_t
203  globus_gsi_callback_data_t callback_data,
204  STACK_OF(X509) ** cert_chain);
205 
206 globus_result_t
208  globus_gsi_callback_data_t callback_data,
209  STACK_OF(X509) * cert_chain);
210 
211 globus_result_t
213  globus_gsi_callback_data_t callback_data,
214  int * multiple_limited_proxy_ok);
215 
216 globus_result_t
218  globus_gsi_callback_data_t callback_data,
219  int multiple_limited_proxy_ok);
220 
221 globus_result_t
223  globus_gsi_callback_data_t callback_data,
224  void ** extension_oids);
225 
226 globus_result_t
228  globus_gsi_callback_data_t callback_data,
229  void * extension_oids);
230 
231 globus_result_t
233  globus_gsi_callback_data_t callback_data,
234  char ** cert_dir);
235 
236 globus_result_t
238  globus_gsi_callback_data_t callback_data,
239  char * cert_dir);
240 
241 globus_result_t
242 globus_gsi_callback_get_goodtill(
243  globus_gsi_callback_data_t callback_data,
244  time_t * goodtill);
245 
246 globus_result_t
247 globus_gsi_callback_set_goodtill(
248  globus_gsi_callback_data_t callback_data,
249  time_t goodtill);
250 
251 globus_result_t
253  globus_gsi_callback_data_t callback_data,
254  globus_gsi_extension_callback_t * extension_cb);
255 
256 globus_result_t
258  globus_gsi_callback_data_t callback_data,
259  globus_gsi_extension_callback_t extension_cb);
260 
261 globus_result_t
263  globus_gsi_callback_data_t callback_data,
264  globus_result_t * error);
265 
266 globus_result_t
268  globus_gsi_callback_data_t callback_data,
269  globus_result_t error);
270 
271 globus_result_t
273  globus_gsi_callback_data_t callback_data,
274  globus_bool_t * check);
275 
276 globus_result_t
278  globus_gsi_callback_data_t callback_data,
279  globus_bool_t check);
280 
281 globus_result_t
283  globus_gsi_callback_data_t callback_data,
284  globus_bool_t * allow);
285 
286 globus_result_t
288  globus_gsi_callback_data_t callback_data,
289  globus_bool_t allow);
290 
291 #endif /* DOXYGEN */
292 
293 #ifdef __cplusplus
294 }
295 #endif
296 
297 #endif /* GLOBUS_GSI_CALLBACK_H */