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_find_type_in_ad (
78 krb5_context /*context*/,
81 krb5_boolean */*found*/,
82 krb5_keyblock */*sessionkey*/,
83 const AuthorizationData */*ad*/);
86 _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/);
89 _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/);
92 _krb5_get_default_principal_local (
93 krb5_context /*context*/,
94 krb5_principal */*princ*/);
96 krb5_error_code KRB5_LIB_FUNCTION
97 _krb5_get_host_realm_int (
98 krb5_context /*context*/,
100 krb5_boolean /*use_dns*/,
101 krb5_realm **/*realms*/);
104 _krb5_get_init_creds_opt_copy (
105 krb5_context /*context*/,
106 const krb5_get_init_creds_opt */*in*/,
107 krb5_get_init_creds_opt **/*out*/);
109 void KRB5_LIB_FUNCTION
110 _krb5_get_init_creds_opt_free_krb5_error (krb5_get_init_creds_opt */*opt*/);
112 void KRB5_LIB_FUNCTION
113 _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/);
115 void KRB5_LIB_FUNCTION
116 _krb5_get_init_creds_opt_set_krb5_error (
117 krb5_context /*context*/,
118 krb5_get_init_creds_opt */*opt*/,
119 const KRB_ERROR */*error*/);
121 krb5_ssize_t KRB5_LIB_FUNCTION
124 unsigned long */*value*/,
129 krb5_context /*context*/,
131 krb5_realm /*realm*/,
132 krb5_creds **/*cred*/);
136 krb5_context /*context*/,
142 krb5_context /*context*/,
148 _krb5_kcm_get_initial_ticket (
149 krb5_context /*context*/,
151 krb5_principal /*server*/,
152 krb5_keyblock */*key*/);
155 _krb5_kcm_get_ticket (
156 krb5_context /*context*/,
158 krb5_kdc_flags /*flags*/,
159 krb5_enctype /*enctype*/,
160 krb5_principal /*server*/);
163 _krb5_kcm_is_running (krb5_context /*context*/);
167 krb5_context /*context*/,
170 krb5_error_code KRB5_LIB_FUNCTION
171 _krb5_krb_cr_err_reply (
172 krb5_context /*context*/,
173 const char */*name*/,
174 const char */*inst*/,
175 const char */*realm*/,
176 uint32_t /*time_ws*/,
178 const char */*e_string*/,
179 krb5_data */*data*/);
181 krb5_error_code KRB5_LIB_FUNCTION
182 _krb5_krb_create_auth_reply (
183 krb5_context /*context*/,
184 const char */*pname*/,
185 const char */*pinst*/,
186 const char */*prealm*/,
190 unsigned char /*kvno*/,
191 const krb5_data */*cipher*/,
192 krb5_data */*data*/);
194 krb5_error_code KRB5_LIB_FUNCTION
195 _krb5_krb_create_ciph (
196 krb5_context /*context*/,
197 const krb5_keyblock */*session*/,
198 const char */*service*/,
199 const char */*instance*/,
200 const char */*realm*/,
202 unsigned char /*kvno*/,
203 const krb5_data */*ticket*/,
204 uint32_t /*kdc_time*/,
205 const krb5_keyblock */*key*/,
206 krb5_data */*enc_data*/);
208 krb5_error_code KRB5_LIB_FUNCTION
209 _krb5_krb_create_ticket (
210 krb5_context /*context*/,
211 unsigned char /*flags*/,
212 const char */*pname*/,
213 const char */*pinstance*/,
214 const char */*prealm*/,
215 int32_t /*paddress*/,
216 const krb5_keyblock */*session*/,
218 int32_t /*life_sec*/,
219 const char */*sname*/,
220 const char */*sinstance*/,
221 const krb5_keyblock */*key*/,
222 krb5_data */*enc_data*/);
224 krb5_error_code KRB5_LIB_FUNCTION
225 _krb5_krb_decomp_ticket (
226 krb5_context /*context*/,
227 const krb5_data */*enc_ticket*/,
228 const krb5_keyblock */*key*/,
229 const char */*local_realm*/,
231 char **/*sinstance*/,
232 struct _krb5_krb_auth_data */*ad*/);
234 krb5_error_code KRB5_LIB_FUNCTION
236 krb5_context /*context*/,
237 const char */*tkfile*/);
239 void KRB5_LIB_FUNCTION
240 _krb5_krb_free_auth_data (
241 krb5_context /*context*/,
242 struct _krb5_krb_auth_data */*ad*/);
244 time_t KRB5_LIB_FUNCTION
245 _krb5_krb_life_to_time (
249 krb5_error_code KRB5_LIB_FUNCTION
251 krb5_context /*context*/,
252 krb5_data */*authent*/,
253 const char */*service*/,
254 const char */*instance*/,
255 const char */*local_realm*/,
256 int32_t /*from_addr*/,
257 const krb5_keyblock */*key*/,
258 struct _krb5_krb_auth_data */*ad*/);
260 krb5_error_code KRB5_LIB_FUNCTION
262 krb5_context /*context*/,
263 struct credentials */*v4creds*/,
264 const char */*tkfile*/,
267 int KRB5_LIB_FUNCTION
268 _krb5_krb_time_to_life (
273 _krb5_krbhost_info_move (
274 krb5_context /*context*/,
275 krb5_krbhst_info */*from*/,
276 krb5_krbhst_info **/*to*/);
279 _krb5_mk_req_internal (
280 krb5_context /*context*/,
281 krb5_auth_context */*auth_context*/,
282 const krb5_flags /*ap_req_options*/,
283 krb5_data */*in_data*/,
284 krb5_creds */*in_creds*/,
285 krb5_data */*outbuf*/,
286 krb5_key_usage /*checksum_usage*/,
287 krb5_key_usage /*encrypt_usage*/);
289 void KRB5_LIB_FUNCTION
296 krb5_error_code KRB5_LIB_FUNCTION
297 _krb5_oid_to_enctype (
298 krb5_context /*context*/,
299 const heim_oid */*oid*/,
300 krb5_enctype */*etype*/);
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*/);
383 krb5_error_code KRB5_LIB_FUNCTION
384 _krb5_principal2principalname (
385 PrincipalName */*p*/,
386 const krb5_principal /*from*/);
388 krb5_error_code KRB5_LIB_FUNCTION
389 _krb5_principalname2krb5_principal (
390 krb5_context /*context*/,
391 krb5_principal */*principal*/,
392 const PrincipalName /*from*/,
393 const Realm /*realm*/);
395 krb5_ssize_t KRB5_LIB_FUNCTION
398 unsigned long /*value*/,
401 krb5_error_code KRB5_LIB_FUNCTION
402 _krb5_s4u2self_to_checksumdata (
403 krb5_context /*context*/,
404 const PA_S4U2Self */*self*/,
405 krb5_data */*data*/);
408 _krb5_send_and_recv_tcp (
411 const krb5_data */*req*/,
416 krb5_context /*context*/,
418 krb5_boolean /*exclusive*/,
419 const char */*filename*/);
423 krb5_context /*context*/,
426 #endif /* __krb5_private_h__ */