1 /* This is a generated file */
2 #ifndef __krb5_private_h__
3 #define __krb5_private_h__
7 #ifndef KRB5_LIB_FUNCTION
9 #define KRB5_LIB_FUNCTION _stdcall
11 #define KRB5_LIB_FUNCTION
15 void KRB5_LIB_FUNCTION
16 _krb5_aes_cts_encrypt (
17 const unsigned char */*in*/,
18 unsigned char */*out*/,
20 const AES_KEY */*key*/,
21 unsigned char */*ivec*/,
22 const int /*encryptp*/);
26 krb5_context /*context*/,
27 const krb5_cc_ops */*ops*/,
31 _krb5_crc_init_table (void);
41 krb5_context /*context*/,
42 unsigned long /*bits*/,
46 struct krb5_dh_moduli **/*moduli*/,
49 krb5_error_code KRB5_LIB_FUNCTION
50 _krb5_enctype_to_oid (
51 krb5_context /*context*/,
52 krb5_enctype /*etype*/,
56 _krb5_expand_default_cc_name (
57 krb5_context /*context*/,
62 _krb5_extract_ticket (
63 krb5_context /*context*/,
64 krb5_kdc_rep */*rep*/,
65 krb5_creds */*creds*/,
66 krb5_keyblock */*key*/,
67 krb5_const_pointer /*keyseed*/,
68 krb5_key_usage /*key_usage*/,
69 krb5_addresses */*addrs*/,
71 krb5_boolean /*allow_server_mismatch*/,
72 krb5_boolean /*ignore_cname*/,
73 krb5_decrypt_proc /*decrypt_proc*/,
74 krb5_const_pointer /*decryptarg*/);
77 _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/);
80 _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/);
83 _krb5_get_default_principal_local (
84 krb5_context /*context*/,
85 krb5_principal */*princ*/);
87 krb5_error_code KRB5_LIB_FUNCTION
88 _krb5_get_host_realm_int (
89 krb5_context /*context*/,
91 krb5_boolean /*use_dns*/,
92 krb5_realm **/*realms*/);
95 _krb5_get_init_creds_opt_copy (
96 krb5_context /*context*/,
97 const krb5_get_init_creds_opt */*in*/,
98 krb5_get_init_creds_opt **/*out*/);
100 void KRB5_LIB_FUNCTION
101 _krb5_get_init_creds_opt_free_krb5_error (krb5_get_init_creds_opt */*opt*/);
103 void KRB5_LIB_FUNCTION
104 _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/);
106 void KRB5_LIB_FUNCTION
107 _krb5_get_init_creds_opt_set_krb5_error (
108 krb5_context /*context*/,
109 krb5_get_init_creds_opt */*opt*/,
110 const KRB_ERROR */*error*/);
112 krb5_ssize_t KRB5_LIB_FUNCTION
115 unsigned long */*value*/,
120 krb5_context /*context*/,
122 krb5_realm /*realm*/,
123 krb5_creds **/*cred*/);
127 krb5_context /*context*/,
133 krb5_context /*context*/,
139 _krb5_kcm_get_initial_ticket (
140 krb5_context /*context*/,
142 krb5_principal /*server*/,
143 krb5_keyblock */*key*/);
146 _krb5_kcm_get_ticket (
147 krb5_context /*context*/,
149 krb5_kdc_flags /*flags*/,
150 krb5_enctype /*enctype*/,
151 krb5_principal /*server*/);
154 _krb5_kcm_is_running (krb5_context /*context*/);
158 krb5_context /*context*/,
161 krb5_error_code KRB5_LIB_FUNCTION
162 _krb5_krb_cr_err_reply (
163 krb5_context /*context*/,
164 const char */*name*/,
165 const char */*inst*/,
166 const char */*realm*/,
167 uint32_t /*time_ws*/,
169 const char */*e_string*/,
170 krb5_data */*data*/);
172 krb5_error_code KRB5_LIB_FUNCTION
173 _krb5_krb_create_auth_reply (
174 krb5_context /*context*/,
175 const char */*pname*/,
176 const char */*pinst*/,
177 const char */*prealm*/,
181 unsigned char /*kvno*/,
182 const krb5_data */*cipher*/,
183 krb5_data */*data*/);
185 krb5_error_code KRB5_LIB_FUNCTION
186 _krb5_krb_create_ciph (
187 krb5_context /*context*/,
188 const krb5_keyblock */*session*/,
189 const char */*service*/,
190 const char */*instance*/,
191 const char */*realm*/,
193 unsigned char /*kvno*/,
194 const krb5_data */*ticket*/,
195 uint32_t /*kdc_time*/,
196 const krb5_keyblock */*key*/,
197 krb5_data */*enc_data*/);
199 krb5_error_code KRB5_LIB_FUNCTION
200 _krb5_krb_create_ticket (
201 krb5_context /*context*/,
202 unsigned char /*flags*/,
203 const char */*pname*/,
204 const char */*pinstance*/,
205 const char */*prealm*/,
206 int32_t /*paddress*/,
207 const krb5_keyblock */*session*/,
209 int32_t /*life_sec*/,
210 const char */*sname*/,
211 const char */*sinstance*/,
212 const krb5_keyblock */*key*/,
213 krb5_data */*enc_data*/);
215 krb5_error_code KRB5_LIB_FUNCTION
216 _krb5_krb_decomp_ticket (
217 krb5_context /*context*/,
218 const krb5_data */*enc_ticket*/,
219 const krb5_keyblock */*key*/,
220 const char */*local_realm*/,
222 char **/*sinstance*/,
223 struct _krb5_krb_auth_data */*ad*/);
225 krb5_error_code KRB5_LIB_FUNCTION
227 krb5_context /*context*/,
228 const char */*tkfile*/);
230 void KRB5_LIB_FUNCTION
231 _krb5_krb_free_auth_data (
232 krb5_context /*context*/,
233 struct _krb5_krb_auth_data */*ad*/);
235 time_t KRB5_LIB_FUNCTION
236 _krb5_krb_life_to_time (
240 krb5_error_code KRB5_LIB_FUNCTION
242 krb5_context /*context*/,
243 krb5_data */*authent*/,
244 const char */*service*/,
245 const char */*instance*/,
246 const char */*local_realm*/,
247 int32_t /*from_addr*/,
248 const krb5_keyblock */*key*/,
249 struct _krb5_krb_auth_data */*ad*/);
251 krb5_error_code KRB5_LIB_FUNCTION
253 krb5_context /*context*/,
254 struct credentials */*v4creds*/,
255 const char */*tkfile*/,
258 int KRB5_LIB_FUNCTION
259 _krb5_krb_time_to_life (
264 _krb5_krbhost_info_move (
265 krb5_context /*context*/,
266 krb5_krbhst_info */*from*/,
267 krb5_krbhst_info **/*to*/);
270 _krb5_mk_req_internal (
271 krb5_context /*context*/,
272 krb5_auth_context */*auth_context*/,
273 const krb5_flags /*ap_req_options*/,
274 krb5_data */*in_data*/,
275 krb5_creds */*in_creds*/,
276 krb5_data */*outbuf*/,
277 krb5_key_usage /*checksum_usage*/,
278 krb5_key_usage /*encrypt_usage*/);
280 void KRB5_LIB_FUNCTION
287 krb5_error_code KRB5_LIB_FUNCTION
288 _krb5_oid_to_enctype (
289 krb5_context /*context*/,
290 const heim_oid */*oid*/,
291 krb5_enctype */*etype*/);
295 krb5_context /*context*/,
296 struct krb5_pac */*p*/,
298 krb5_principal /*principal*/,
299 const krb5_keyblock */*server_key*/,
300 const krb5_keyblock */*priv_key*/,
301 krb5_data */*data*/);
305 krb5_context /*context*/,
306 const char */*file*/,
307 struct krb5_dh_moduli ***/*moduli*/);
310 _krb5_parse_moduli_line (
311 krb5_context /*context*/,
312 const char */*file*/,
315 struct krb5_dh_moduli **/*m*/);
317 void KRB5_LIB_FUNCTION
318 _krb5_pk_allow_proxy_certificate (
319 struct krb5_pk_identity */*id*/,
322 void KRB5_LIB_FUNCTION
323 _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/);
325 krb5_error_code KRB5_LIB_FUNCTION
327 krb5_context /*context*/,
328 struct krb5_pk_identity **/*ret_id*/,
329 const char */*user_id*/,
330 const char */*anchor_id*/,
331 char * const */*chain_list*/,
332 char * const */*revoke_list*/,
333 krb5_prompter_fct /*prompter*/,
334 void */*prompter_data*/,
337 krb5_error_code KRB5_LIB_FUNCTION
338 _krb5_pk_mk_ContentInfo (
339 krb5_context /*context*/,
340 const krb5_data */*buf*/,
341 const heim_oid */*oid*/,
342 struct ContentInfo */*content_info*/);
344 krb5_error_code KRB5_LIB_FUNCTION
346 krb5_context /*context*/,
348 const KDC_REQ_BODY */*req_body*/,
350 METHOD_DATA */*md*/);
353 _krb5_pk_octetstring2key (
354 krb5_context /*context*/,
355 krb5_enctype /*type*/,
356 const void */*dhdata*/,
358 const heim_octet_string */*c_n*/,
359 const heim_octet_string */*k_n*/,
360 krb5_keyblock */*key*/);
362 krb5_error_code KRB5_LIB_FUNCTION
363 _krb5_pk_rd_pa_reply (
364 krb5_context /*context*/,
365 const char */*realm*/,
367 krb5_enctype /*etype*/,
368 const krb5_krbhst_info */*hi*/,
370 const krb5_data */*req_buffer*/,
372 krb5_keyblock **/*key*/);
374 krb5_error_code KRB5_LIB_FUNCTION
375 _krb5_pk_verify_sign (
376 krb5_context /*context*/,
377 const void */*data*/,
379 struct krb5_pk_identity */*id*/,
380 heim_oid */*contentType*/,
381 krb5_data */*content*/,
382 struct krb5_pk_cert **/*signer*/);
386 krb5_context /*context*/,
387 enum plugin_type /*type*/,
388 const char */*name*/,
389 struct krb5_plugin **/*list*/);
392 _krb5_plugin_free (struct krb5_plugin */*list*/);
395 _krb5_plugin_get_next (struct krb5_plugin */*p*/);
398 _krb5_plugin_get_symbol (struct krb5_plugin */*p*/);
401 _krb5_plugin_register (
402 krb5_context /*context*/,
403 enum plugin_type /*type*/,
404 const char */*name*/,
407 krb5_error_code KRB5_LIB_FUNCTION
408 _krb5_principal2principalname (
409 PrincipalName */*p*/,
410 const krb5_principal /*from*/);
412 krb5_error_code KRB5_LIB_FUNCTION
413 _krb5_principalname2krb5_principal (
414 krb5_context /*context*/,
415 krb5_principal */*principal*/,
416 const PrincipalName /*from*/,
417 const Realm /*realm*/);
419 krb5_ssize_t KRB5_LIB_FUNCTION
422 unsigned long /*value*/,
425 krb5_error_code KRB5_LIB_FUNCTION
426 _krb5_rd_req_out_ctx_alloc (
427 krb5_context /*context*/,
428 krb5_rd_req_out_ctx */*ctx*/);
430 krb5_error_code KRB5_LIB_FUNCTION
431 _krb5_s4u2self_to_checksumdata (
432 krb5_context /*context*/,
433 const PA_S4U2Self */*self*/,
434 krb5_data */*data*/);
437 _krb5_send_and_recv_tcp (
440 const krb5_data */*req*/,
445 krb5_context /*context*/,
447 krb5_boolean /*exclusive*/,
448 const char */*filename*/);
452 krb5_context /*context*/,
455 #endif /* __krb5_private_h__ */