1 /* This is a generated file */
2 #ifndef __krb5_private_h__
3 #define __krb5_private_h__
8 _krb5_aes_cts_encrypt (
9 const unsigned char */*in*/,
10 unsigned char */*out*/,
12 const AES_KEY */*key*/,
13 unsigned char */*ivec*/,
14 const int /*encryptp*/);
18 krb5_context /*context*/,
19 const krb5_cc_ops */*ops*/,
23 _krb5_crc_init_table (void);
33 krb5_context /*context*/,
34 unsigned long /*bits*/,
38 struct krb5_dh_moduli **/*moduli*/,
41 krb5_error_code KRB5_LIB_FUNCTION
42 _krb5_enctype_to_oid (
43 krb5_context /*context*/,
44 krb5_enctype /*etype*/,
48 _krb5_expand_default_cc_name (
49 krb5_context /*context*/,
54 _krb5_extract_ticket (
55 krb5_context /*context*/,
56 krb5_kdc_rep */*rep*/,
57 krb5_creds */*creds*/,
58 krb5_keyblock */*key*/,
59 krb5_const_pointer /*keyseed*/,
60 krb5_key_usage /*key_usage*/,
61 krb5_addresses */*addrs*/,
64 krb5_decrypt_proc /*decrypt_proc*/,
65 krb5_const_pointer /*decryptarg*/);
68 _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/);
71 _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/);
74 _krb5_get_default_principal_local (
75 krb5_context /*context*/,
76 krb5_principal */*princ*/);
78 krb5_error_code KRB5_LIB_FUNCTION
79 _krb5_get_host_realm_int (
80 krb5_context /*context*/,
82 krb5_boolean /*use_dns*/,
83 krb5_realm **/*realms*/);
86 _krb5_get_init_creds_opt_copy (
87 krb5_context /*context*/,
88 const krb5_get_init_creds_opt */*in*/,
89 krb5_get_init_creds_opt **/*out*/);
91 void KRB5_LIB_FUNCTION
92 _krb5_get_init_creds_opt_free_krb5_error (krb5_get_init_creds_opt */*opt*/);
94 void KRB5_LIB_FUNCTION
95 _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/);
97 void KRB5_LIB_FUNCTION
98 _krb5_get_init_creds_opt_set_krb5_error (
99 krb5_context /*context*/,
100 krb5_get_init_creds_opt */*opt*/,
101 const KRB_ERROR */*error*/);
103 krb5_ssize_t KRB5_LIB_FUNCTION
106 unsigned long */*value*/,
111 krb5_context /*context*/,
113 krb5_realm /*realm*/,
114 krb5_creds **/*cred*/);
118 krb5_context /*context*/,
124 krb5_context /*context*/,
130 _krb5_kcm_get_initial_ticket (
131 krb5_context /*context*/,
133 krb5_principal /*server*/,
134 krb5_keyblock */*key*/);
137 _krb5_kcm_get_ticket (
138 krb5_context /*context*/,
140 krb5_kdc_flags /*flags*/,
141 krb5_enctype /*enctype*/,
142 krb5_principal /*server*/);
145 _krb5_kcm_is_running (krb5_context /*context*/);
149 krb5_context /*context*/,
154 krb5_context /*context*/,
155 krb5_sendto_ctx /*ctx*/,
157 const krb5_data */*reply*/,
160 krb5_error_code KRB5_LIB_FUNCTION
161 _krb5_krb_cr_err_reply (
162 krb5_context /*context*/,
163 const char */*name*/,
164 const char */*inst*/,
165 const char */*realm*/,
166 uint32_t /*time_ws*/,
168 const char */*e_string*/,
169 krb5_data */*data*/);
171 krb5_error_code KRB5_LIB_FUNCTION
172 _krb5_krb_create_auth_reply (
173 krb5_context /*context*/,
174 const char */*pname*/,
175 const char */*pinst*/,
176 const char */*prealm*/,
180 unsigned char /*kvno*/,
181 const krb5_data */*cipher*/,
182 krb5_data */*data*/);
184 krb5_error_code KRB5_LIB_FUNCTION
185 _krb5_krb_create_ciph (
186 krb5_context /*context*/,
187 const krb5_keyblock */*session*/,
188 const char */*service*/,
189 const char */*instance*/,
190 const char */*realm*/,
192 unsigned char /*kvno*/,
193 const krb5_data */*ticket*/,
194 uint32_t /*kdc_time*/,
195 const krb5_keyblock */*key*/,
196 krb5_data */*enc_data*/);
198 krb5_error_code KRB5_LIB_FUNCTION
199 _krb5_krb_create_ticket (
200 krb5_context /*context*/,
201 unsigned char /*flags*/,
202 const char */*pname*/,
203 const char */*pinstance*/,
204 const char */*prealm*/,
205 int32_t /*paddress*/,
206 const krb5_keyblock */*session*/,
208 int32_t /*life_sec*/,
209 const char */*sname*/,
210 const char */*sinstance*/,
211 const krb5_keyblock */*key*/,
212 krb5_data */*enc_data*/);
214 krb5_error_code KRB5_LIB_FUNCTION
215 _krb5_krb_decomp_ticket (
216 krb5_context /*context*/,
217 const krb5_data */*enc_ticket*/,
218 const krb5_keyblock */*key*/,
219 const char */*local_realm*/,
221 char **/*sinstance*/,
222 struct _krb5_krb_auth_data */*ad*/);
224 krb5_error_code KRB5_LIB_FUNCTION
226 krb5_context /*context*/,
227 const char */*tkfile*/);
229 void KRB5_LIB_FUNCTION
230 _krb5_krb_free_auth_data (
231 krb5_context /*context*/,
232 struct _krb5_krb_auth_data */*ad*/);
234 time_t KRB5_LIB_FUNCTION
235 _krb5_krb_life_to_time (
239 krb5_error_code KRB5_LIB_FUNCTION
241 krb5_context /*context*/,
242 krb5_data */*authent*/,
243 const char */*service*/,
244 const char */*instance*/,
245 const char */*local_realm*/,
246 int32_t /*from_addr*/,
247 const krb5_keyblock */*key*/,
248 struct _krb5_krb_auth_data */*ad*/);
250 krb5_error_code KRB5_LIB_FUNCTION
252 krb5_context /*context*/,
253 struct credentials */*v4creds*/,
254 const char */*tkfile*/,
257 int KRB5_LIB_FUNCTION
258 _krb5_krb_time_to_life (
263 _krb5_krbhost_info_move (
264 krb5_context /*context*/,
265 krb5_krbhst_info */*from*/,
266 krb5_krbhst_info **/*to*/);
269 _krb5_mk_req_internal (
270 krb5_context /*context*/,
271 krb5_auth_context */*auth_context*/,
272 const krb5_flags /*ap_req_options*/,
273 krb5_data */*in_data*/,
274 krb5_creds */*in_creds*/,
275 krb5_data */*outbuf*/,
276 krb5_key_usage /*checksum_usage*/,
277 krb5_key_usage /*encrypt_usage*/);
279 void KRB5_LIB_FUNCTION
286 krb5_error_code KRB5_LIB_FUNCTION
287 _krb5_oid_to_enctype (
288 krb5_context /*context*/,
289 const heim_oid */*oid*/,
290 krb5_enctype */*etype*/);
294 krb5_context /*context*/,
295 struct krb5_pac */*p*/,
297 krb5_principal /*principal*/,
298 const krb5_keyblock */*server_key*/,
299 const krb5_keyblock */*priv_key*/,
300 krb5_data */*data*/);
304 krb5_context /*context*/,
305 const char */*file*/,
306 struct krb5_dh_moduli ***/*moduli*/);
309 _krb5_parse_moduli_line (
310 krb5_context /*context*/,
311 const char */*file*/,
314 struct krb5_dh_moduli **/*m*/);
316 void KRB5_LIB_FUNCTION
317 _krb5_pk_allow_proxy_certificate (
318 struct krb5_pk_identity */*id*/,
321 void KRB5_LIB_FUNCTION
322 _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/);
324 krb5_error_code KRB5_LIB_FUNCTION
326 krb5_context /*context*/,
327 struct krb5_pk_identity **/*ret_id*/,
328 const char */*user_id*/,
329 const char */*anchor_id*/,
330 char * const */*chain_list*/,
331 char * const */*revoke_list*/,
332 krb5_prompter_fct /*prompter*/,
333 void */*prompter_data*/,
336 krb5_error_code KRB5_LIB_FUNCTION
337 _krb5_pk_mk_ContentInfo (
338 krb5_context /*context*/,
339 const krb5_data */*buf*/,
340 const heim_oid */*oid*/,
341 struct ContentInfo */*content_info*/);
343 krb5_error_code KRB5_LIB_FUNCTION
345 krb5_context /*context*/,
347 const KDC_REQ_BODY */*req_body*/,
349 METHOD_DATA */*md*/);
352 _krb5_pk_octetstring2key (
353 krb5_context /*context*/,
354 krb5_enctype /*type*/,
355 const void */*dhdata*/,
357 const heim_octet_string */*c_n*/,
358 const heim_octet_string */*k_n*/,
359 krb5_keyblock */*key*/);
361 krb5_error_code KRB5_LIB_FUNCTION
362 _krb5_pk_rd_pa_reply (
363 krb5_context /*context*/,
364 const char */*realm*/,
366 krb5_enctype /*etype*/,
367 const krb5_krbhst_info */*hi*/,
369 const krb5_data */*req_buffer*/,
371 krb5_keyblock **/*key*/);
373 krb5_error_code KRB5_LIB_FUNCTION
374 _krb5_pk_verify_sign (
375 krb5_context /*context*/,
376 const void */*data*/,
378 struct krb5_pk_identity */*id*/,
379 heim_oid */*contentType*/,
380 krb5_data */*content*/,
381 struct krb5_pk_cert **/*signer*/);
385 krb5_context /*context*/,
386 enum plugin_type /*type*/,
387 const char */*name*/,
388 struct krb5_plugin **/*list*/);
391 _krb5_plugin_free (struct krb5_plugin */*list*/);
394 _krb5_plugin_get_next (struct krb5_plugin */*p*/);
397 _krb5_plugin_get_symbol (struct krb5_plugin */*p*/);
400 _krb5_plugin_register (
401 krb5_context /*context*/,
402 enum plugin_type /*type*/,
403 const char */*name*/,
406 krb5_error_code KRB5_LIB_FUNCTION
407 _krb5_principal2principalname (
408 PrincipalName */*p*/,
409 const krb5_principal /*from*/);
411 krb5_error_code KRB5_LIB_FUNCTION
412 _krb5_principalname2krb5_principal (
413 krb5_context /*context*/,
414 krb5_principal */*principal*/,
415 const PrincipalName /*from*/,
416 const Realm /*realm*/);
418 krb5_ssize_t KRB5_LIB_FUNCTION
421 unsigned long /*value*/,
424 krb5_error_code KRB5_LIB_FUNCTION
425 _krb5_rd_req_out_ctx_alloc (
426 krb5_context /*context*/,
427 krb5_rd_req_out_ctx */*ctx*/);
429 krb5_error_code KRB5_LIB_FUNCTION
430 _krb5_s4u2self_to_checksumdata (
431 krb5_context /*context*/,
432 const PA_S4U2Self */*self*/,
433 krb5_data */*data*/);
436 _krb5_send_and_recv_tcp (
439 const krb5_data */*req*/,
444 krb5_context /*context*/,
446 krb5_boolean /*exclusive*/,
447 const char */*filename*/);
451 krb5_context /*context*/,
454 #endif /* __krb5_private_h__ */