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*/,
152 krb5_error_code KRB5_LIB_FUNCTION
153 _krb5_krb_cr_err_reply (
154 krb5_context /*context*/,
155 const char */*name*/,
156 const char */*inst*/,
157 const char */*realm*/,
158 uint32_t /*time_ws*/,
160 const char */*e_string*/,
161 krb5_data */*data*/);
163 krb5_error_code KRB5_LIB_FUNCTION
164 _krb5_krb_create_auth_reply (
165 krb5_context /*context*/,
166 const char */*pname*/,
167 const char */*pinst*/,
168 const char */*prealm*/,
172 unsigned char /*kvno*/,
173 const krb5_data */*cipher*/,
174 krb5_data */*data*/);
176 krb5_error_code KRB5_LIB_FUNCTION
177 _krb5_krb_create_ciph (
178 krb5_context /*context*/,
179 const krb5_keyblock */*session*/,
180 const char */*service*/,
181 const char */*instance*/,
182 const char */*realm*/,
184 unsigned char /*kvno*/,
185 const krb5_data */*ticket*/,
186 uint32_t /*kdc_time*/,
187 const krb5_keyblock */*key*/,
188 krb5_data */*enc_data*/);
190 krb5_error_code KRB5_LIB_FUNCTION
191 _krb5_krb_create_ticket (
192 krb5_context /*context*/,
193 unsigned char /*flags*/,
194 const char */*pname*/,
195 const char */*pinstance*/,
196 const char */*prealm*/,
197 int32_t /*paddress*/,
198 const krb5_keyblock */*session*/,
200 int32_t /*life_sec*/,
201 const char */*sname*/,
202 const char */*sinstance*/,
203 const krb5_keyblock */*key*/,
204 krb5_data */*enc_data*/);
206 krb5_error_code KRB5_LIB_FUNCTION
207 _krb5_krb_decomp_ticket (
208 krb5_context /*context*/,
209 const krb5_data */*enc_ticket*/,
210 const krb5_keyblock */*key*/,
211 const char */*local_realm*/,
213 char **/*sinstance*/,
214 struct _krb5_krb_auth_data */*ad*/);
216 krb5_error_code KRB5_LIB_FUNCTION
218 krb5_context /*context*/,
219 const char */*tkfile*/);
221 void KRB5_LIB_FUNCTION
222 _krb5_krb_free_auth_data (
223 krb5_context /*context*/,
224 struct _krb5_krb_auth_data */*ad*/);
226 time_t KRB5_LIB_FUNCTION
227 _krb5_krb_life_to_time (
231 krb5_error_code KRB5_LIB_FUNCTION
233 krb5_context /*context*/,
234 krb5_data */*authent*/,
235 const char */*service*/,
236 const char */*instance*/,
237 const char */*local_realm*/,
238 int32_t /*from_addr*/,
239 const krb5_keyblock */*key*/,
240 struct _krb5_krb_auth_data */*ad*/);
242 krb5_error_code KRB5_LIB_FUNCTION
244 krb5_context /*context*/,
245 struct credentials */*v4creds*/,
246 const char */*tkfile*/,
249 int KRB5_LIB_FUNCTION
250 _krb5_krb_time_to_life (
255 _krb5_krbhost_info_move (
256 krb5_context /*context*/,
257 krb5_krbhst_info */*from*/,
258 krb5_krbhst_info **/*to*/);
261 _krb5_mk_req_internal (
262 krb5_context /*context*/,
263 krb5_auth_context */*auth_context*/,
264 const krb5_flags /*ap_req_options*/,
265 krb5_data */*in_data*/,
266 krb5_creds */*in_creds*/,
267 krb5_data */*outbuf*/,
268 krb5_key_usage /*checksum_usage*/,
269 krb5_key_usage /*encrypt_usage*/);
271 void KRB5_LIB_FUNCTION
278 krb5_error_code KRB5_LIB_FUNCTION
279 _krb5_oid_to_enctype (
280 krb5_context /*context*/,
281 const heim_oid */*oid*/,
282 krb5_enctype */*etype*/);
286 krb5_context /*context*/,
287 struct krb5_pac */*p*/,
289 krb5_principal /*principal*/,
290 const krb5_keyblock */*server_key*/,
291 const krb5_keyblock */*priv_key*/,
292 krb5_data */*data*/);
296 krb5_context /*context*/,
297 const char */*file*/,
298 struct krb5_dh_moduli ***/*moduli*/);
301 _krb5_parse_moduli_line (
302 krb5_context /*context*/,
303 const char */*file*/,
306 struct krb5_dh_moduli **/*m*/);
308 void KRB5_LIB_FUNCTION
309 _krb5_pk_allow_proxy_certificate (
310 struct krb5_pk_identity */*id*/,
313 void KRB5_LIB_FUNCTION
314 _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/);
316 krb5_error_code KRB5_LIB_FUNCTION
318 krb5_context /*context*/,
319 struct krb5_pk_identity **/*ret_id*/,
320 const char */*user_id*/,
321 const char */*anchor_id*/,
322 char * const */*chain_list*/,
323 char * const */*revoke_list*/,
324 krb5_prompter_fct /*prompter*/,
325 void */*prompter_data*/,
328 krb5_error_code KRB5_LIB_FUNCTION
329 _krb5_pk_mk_ContentInfo (
330 krb5_context /*context*/,
331 const krb5_data */*buf*/,
332 const heim_oid */*oid*/,
333 struct ContentInfo */*content_info*/);
335 krb5_error_code KRB5_LIB_FUNCTION
337 krb5_context /*context*/,
339 const KDC_REQ_BODY */*req_body*/,
341 METHOD_DATA */*md*/);
344 _krb5_pk_octetstring2key (
345 krb5_context /*context*/,
346 krb5_enctype /*type*/,
347 const void */*dhdata*/,
349 const heim_octet_string */*c_n*/,
350 const heim_octet_string */*k_n*/,
351 krb5_keyblock */*key*/);
353 krb5_error_code KRB5_LIB_FUNCTION
354 _krb5_pk_rd_pa_reply (
355 krb5_context /*context*/,
356 const char */*realm*/,
358 krb5_enctype /*etype*/,
359 const krb5_krbhst_info */*hi*/,
361 const krb5_data */*req_buffer*/,
363 krb5_keyblock **/*key*/);
365 krb5_error_code KRB5_LIB_FUNCTION
366 _krb5_pk_verify_sign (
367 krb5_context /*context*/,
368 const void */*data*/,
370 struct krb5_pk_identity */*id*/,
371 heim_oid */*contentType*/,
372 krb5_data */*content*/,
373 struct krb5_pk_cert **/*signer*/);
377 krb5_context /*context*/,
378 enum plugin_type /*type*/,
379 const char */*name*/,
380 struct krb5_plugin **/*list*/);
383 _krb5_plugin_free (struct krb5_plugin */*list*/);
386 _krb5_plugin_get_next (struct krb5_plugin */*p*/);
389 _krb5_plugin_get_symbol (struct krb5_plugin */*p*/);
392 _krb5_plugin_register (
393 krb5_context /*context*/,
394 enum plugin_type /*type*/,
395 const char */*name*/,
398 krb5_error_code KRB5_LIB_FUNCTION
399 _krb5_principal2principalname (
400 PrincipalName */*p*/,
401 const krb5_principal /*from*/);
403 krb5_error_code KRB5_LIB_FUNCTION
404 _krb5_principalname2krb5_principal (
405 krb5_context /*context*/,
406 krb5_principal */*principal*/,
407 const PrincipalName /*from*/,
408 const Realm /*realm*/);
410 krb5_ssize_t KRB5_LIB_FUNCTION
413 unsigned long /*value*/,
416 krb5_error_code KRB5_LIB_FUNCTION
417 _krb5_rd_req_out_ctx_alloc (
418 krb5_context /*context*/,
419 krb5_rd_req_out_ctx */*ctx*/);
421 krb5_error_code KRB5_LIB_FUNCTION
422 _krb5_s4u2self_to_checksumdata (
423 krb5_context /*context*/,
424 const PA_S4U2Self */*self*/,
425 krb5_data */*data*/);
428 _krb5_send_and_recv_tcp (
431 const krb5_data */*req*/,
436 krb5_context /*context*/,
438 krb5_boolean /*exclusive*/,
439 const char */*filename*/);
443 krb5_context /*context*/,
446 #endif /* __krb5_private_h__ */