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 void */*aes_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*/,
50 _krb5_expand_default_cc_name (
51 krb5_context /*context*/,
56 _krb5_extract_ticket (
57 krb5_context /*context*/,
58 krb5_kdc_rep */*rep*/,
59 krb5_creds */*creds*/,
60 krb5_keyblock */*key*/,
61 krb5_const_pointer /*keyseed*/,
62 krb5_key_usage /*key_usage*/,
63 krb5_addresses */*addrs*/,
65 krb5_boolean /*allow_server_mismatch*/,
66 krb5_boolean /*ignore_cname*/,
67 krb5_decrypt_proc /*decrypt_proc*/,
68 krb5_const_pointer /*decryptarg*/);
71 _krb5_find_type_in_ad (
72 krb5_context /*context*/,
75 krb5_boolean */*found*/,
76 krb5_keyblock */*sessionkey*/,
77 const AuthorizationData */*ad*/);
80 _krb5_free_krbhst_info (krb5_krbhst_info */*hi*/);
83 _krb5_free_moduli (struct krb5_dh_moduli **/*moduli*/);
86 _krb5_get_default_principal_local (
87 krb5_context /*context*/,
88 krb5_principal */*princ*/);
90 krb5_error_code KRB5_LIB_FUNCTION
91 _krb5_get_host_realm_int (
92 krb5_context /*context*/,
94 krb5_boolean /*use_dns*/,
95 krb5_realm **/*realms*/);
98 _krb5_get_init_creds_opt_copy (
99 krb5_context /*context*/,
100 const krb5_get_init_creds_opt */*in*/,
101 krb5_get_init_creds_opt **/*out*/);
103 void KRB5_LIB_FUNCTION
104 _krb5_get_init_creds_opt_free_pkinit (krb5_get_init_creds_opt */*opt*/);
106 krb5_ssize_t KRB5_LIB_FUNCTION
109 unsigned long */*value*/,
114 krb5_context /*context*/,
116 krb5_realm /*realm*/,
117 krb5_creds **/*cred*/);
121 krb5_context /*context*/,
127 krb5_context /*context*/,
133 _krb5_kcm_get_initial_ticket (
134 krb5_context /*context*/,
136 krb5_principal /*server*/,
137 krb5_keyblock */*key*/);
140 _krb5_kcm_get_ticket (
141 krb5_context /*context*/,
143 krb5_kdc_flags /*flags*/,
144 krb5_enctype /*enctype*/,
145 krb5_principal /*server*/);
148 _krb5_kcm_is_running (krb5_context /*context*/);
152 krb5_context /*context*/,
155 krb5_error_code KRB5_LIB_FUNCTION
156 _krb5_krb_cr_err_reply (
157 krb5_context /*context*/,
158 const char */*name*/,
159 const char */*inst*/,
160 const char */*realm*/,
161 uint32_t /*time_ws*/,
163 const char */*e_string*/,
164 krb5_data */*data*/);
166 krb5_error_code KRB5_LIB_FUNCTION
167 _krb5_krb_create_auth_reply (
168 krb5_context /*context*/,
169 const char */*pname*/,
170 const char */*pinst*/,
171 const char */*prealm*/,
175 unsigned char /*kvno*/,
176 const krb5_data */*cipher*/,
177 krb5_data */*data*/);
179 krb5_error_code KRB5_LIB_FUNCTION
180 _krb5_krb_create_ciph (
181 krb5_context /*context*/,
182 const krb5_keyblock */*session*/,
183 const char */*service*/,
184 const char */*instance*/,
185 const char */*realm*/,
187 unsigned char /*kvno*/,
188 const krb5_data */*ticket*/,
189 uint32_t /*kdc_time*/,
190 const krb5_keyblock */*key*/,
191 krb5_data */*enc_data*/);
193 krb5_error_code KRB5_LIB_FUNCTION
194 _krb5_krb_create_ticket (
195 krb5_context /*context*/,
196 unsigned char /*flags*/,
197 const char */*pname*/,
198 const char */*pinstance*/,
199 const char */*prealm*/,
200 int32_t /*paddress*/,
201 const krb5_keyblock */*session*/,
203 int32_t /*life_sec*/,
204 const char */*sname*/,
205 const char */*sinstance*/,
206 const krb5_keyblock */*key*/,
207 krb5_data */*enc_data*/);
209 krb5_error_code KRB5_LIB_FUNCTION
210 _krb5_krb_decomp_ticket (
211 krb5_context /*context*/,
212 const krb5_data */*enc_ticket*/,
213 const krb5_keyblock */*key*/,
214 const char */*local_realm*/,
216 char **/*sinstance*/,
217 struct _krb5_krb_auth_data */*ad*/);
219 krb5_error_code KRB5_LIB_FUNCTION
221 krb5_context /*context*/,
222 const char */*tkfile*/);
224 void KRB5_LIB_FUNCTION
225 _krb5_krb_free_auth_data (
226 krb5_context /*context*/,
227 struct _krb5_krb_auth_data */*ad*/);
229 time_t KRB5_LIB_FUNCTION
230 _krb5_krb_life_to_time (
234 krb5_error_code KRB5_LIB_FUNCTION
236 krb5_context /*context*/,
237 krb5_data */*authent*/,
238 const char */*service*/,
239 const char */*instance*/,
240 const char */*local_realm*/,
241 int32_t /*from_addr*/,
242 const krb5_keyblock */*key*/,
243 struct _krb5_krb_auth_data */*ad*/);
245 krb5_error_code KRB5_LIB_FUNCTION
247 krb5_context /*context*/,
248 struct credentials */*v4creds*/,
249 const char */*tkfile*/,
252 int KRB5_LIB_FUNCTION
253 _krb5_krb_time_to_life (
258 _krb5_krbhost_info_move (
259 krb5_context /*context*/,
260 krb5_krbhst_info */*from*/,
261 krb5_krbhst_info **/*to*/);
264 _krb5_mk_req_internal (
265 krb5_context /*context*/,
266 krb5_auth_context */*auth_context*/,
267 const krb5_flags /*ap_req_options*/,
268 krb5_data */*in_data*/,
269 krb5_creds */*in_creds*/,
270 krb5_data */*outbuf*/,
271 krb5_key_usage /*checksum_usage*/,
272 krb5_key_usage /*encrypt_usage*/);
274 void KRB5_LIB_FUNCTION
281 krb5_error_code KRB5_LIB_FUNCTION
282 _krb5_oid_to_enctype (
283 krb5_context /*context*/,
284 const heim_oid */*oid*/,
285 krb5_enctype */*etype*/);
289 krb5_context /*context*/,
290 const char */*file*/,
291 struct krb5_dh_moduli ***/*moduli*/);
294 _krb5_parse_moduli_line (
295 krb5_context /*context*/,
296 const char */*file*/,
299 struct krb5_dh_moduli **/*m*/);
301 void KRB5_LIB_FUNCTION
302 _krb5_pk_allow_proxy_certificate (
303 struct krb5_pk_identity */*id*/,
306 void KRB5_LIB_FUNCTION
307 _krb5_pk_cert_free (struct krb5_pk_cert */*cert*/);
309 krb5_error_code KRB5_LIB_FUNCTION
311 krb5_context /*context*/,
312 struct krb5_pk_identity **/*ret_id*/,
313 const char */*user_id*/,
314 const char */*anchor_id*/,
315 char * const */*chain*/,
316 char * const */*revoke*/,
317 krb5_prompter_fct /*prompter*/,
318 void */*prompter_data*/,
321 krb5_error_code KRB5_LIB_FUNCTION
322 _krb5_pk_mk_ContentInfo (
323 krb5_context /*context*/,
324 const krb5_data */*buf*/,
325 const heim_oid */*oid*/,
326 struct ContentInfo */*content_info*/);
328 krb5_error_code KRB5_LIB_FUNCTION
330 krb5_context /*context*/,
332 const KDC_REQ_BODY */*req_body*/,
334 METHOD_DATA */*md*/);
337 _krb5_pk_octetstring2key (
338 krb5_context /*context*/,
339 krb5_enctype /*type*/,
340 const void */*dhdata*/,
342 const heim_octet_string */*c_n*/,
343 const heim_octet_string */*k_n*/,
344 krb5_keyblock */*key*/);
346 krb5_error_code KRB5_LIB_FUNCTION
347 _krb5_pk_rd_pa_reply (
348 krb5_context /*context*/,
349 const char */*realm*/,
351 krb5_enctype /*etype*/,
352 const krb5_krbhst_info */*hi*/,
354 const krb5_data */*req_buffer*/,
356 krb5_keyblock **/*key*/);
358 krb5_error_code KRB5_LIB_FUNCTION
359 _krb5_pk_verify_sign (
360 krb5_context /*context*/,
361 const void */*data*/,
363 struct krb5_pk_identity */*id*/,
364 heim_oid */*contentType*/,
365 krb5_data */*content*/,
366 struct krb5_pk_cert **/*signer*/);
368 krb5_error_code KRB5_LIB_FUNCTION
369 _krb5_principal2principalname (
370 PrincipalName */*p*/,
371 const krb5_principal /*from*/);
373 krb5_error_code KRB5_LIB_FUNCTION
374 _krb5_principalname2krb5_principal (
375 krb5_principal */*principal*/,
376 const PrincipalName /*from*/,
377 const Realm /*realm*/);
379 krb5_ssize_t KRB5_LIB_FUNCTION
382 unsigned long /*value*/,
386 _krb5_send_and_recv_tcp (
389 const krb5_data */*req*/,
394 krb5_context /*context*/,
396 krb5_boolean /*exclusive*/,
397 const char */*filename*/);
401 krb5_context /*context*/,
404 #endif /* __krb5_private_h__ */