Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / crypto / dist / heimdal / kdc / kdc-private.h
blob030be9ae58baeabc2717d43acb642d99c58d1e01
1 /* This is a generated file */
2 #ifndef __kdc_private_h__
3 #define __kdc_private_h__
5 #include <stdarg.h>
7 krb5_error_code
8 _kdc_add_KRB5SignedPath (
9 krb5_context /*context*/,
10 krb5_kdc_configuration */*config*/,
11 hdb_entry_ex */*krbtgt*/,
12 krb5_enctype /*enctype*/,
13 krb5_const_principal /*server*/,
14 KRB5SignedPathPrincipals */*principals*/,
15 EncTicketPart */*tkt*/);
17 krb5_error_code
18 _kdc_add_inital_verified_cas (
19 krb5_context /*context*/,
20 krb5_kdc_configuration */*config*/,
21 pk_client_params */*params*/,
22 EncTicketPart */*tkt*/);
24 krb5_error_code
25 _kdc_as_rep (
26 krb5_context /*context*/,
27 krb5_kdc_configuration */*config*/,
28 KDC_REQ */*req*/,
29 const krb5_data */*req_buffer*/,
30 krb5_data */*reply*/,
31 const char */*from*/,
32 struct sockaddr */*from_addr*/,
33 int /*datagram_reply*/);
35 krb5_boolean
36 _kdc_check_addresses (
37 krb5_context /*context*/,
38 krb5_kdc_configuration */*config*/,
39 HostAddresses */*addresses*/,
40 const struct sockaddr */*from*/);
42 krb5_error_code
43 _kdc_check_flags (
44 krb5_context /*context*/,
45 krb5_kdc_configuration */*config*/,
46 hdb_entry_ex */*client_ex*/,
47 const char */*client_name*/,
48 hdb_entry_ex */*server_ex*/,
49 const char */*server_name*/,
50 krb5_boolean /*is_as_req*/);
52 krb5_error_code
53 _kdc_db_fetch (
54 krb5_context /*context*/,
55 krb5_kdc_configuration */*config*/,
56 krb5_const_principal /*principal*/,
57 unsigned /*flags*/,
58 HDB **/*db*/,
59 hdb_entry_ex **/*h*/);
61 krb5_error_code
62 _kdc_db_fetch4 (
63 krb5_context /*context*/,
64 krb5_kdc_configuration */*config*/,
65 const char */*name*/,
66 const char */*instance*/,
67 const char */*realm*/,
68 unsigned /*flags*/,
69 hdb_entry_ex **/*ent*/);
71 krb5_error_code
72 _kdc_do_524 (
73 krb5_context /*context*/,
74 krb5_kdc_configuration */*config*/,
75 const Ticket */*t*/,
76 krb5_data */*reply*/,
77 const char */*from*/,
78 struct sockaddr */*addr*/);
80 krb5_error_code
81 _kdc_do_digest (
82 krb5_context /*context*/,
83 krb5_kdc_configuration */*config*/,
84 const DigestREQ */*req*/,
85 krb5_data */*reply*/,
86 const char */*from*/,
87 struct sockaddr */*addr*/);
89 krb5_error_code
90 _kdc_do_kaserver (
91 krb5_context /*context*/,
92 krb5_kdc_configuration */*config*/,
93 unsigned char */*buf*/,
94 size_t /*len*/,
95 krb5_data */*reply*/,
96 const char */*from*/,
97 struct sockaddr_in */*addr*/);
99 krb5_error_code
100 _kdc_do_kx509 (
101 krb5_context /*context*/,
102 krb5_kdc_configuration */*config*/,
103 const Kx509Request */*req*/,
104 krb5_data */*reply*/,
105 const char */*from*/,
106 struct sockaddr */*addr*/);
108 krb5_error_code
109 _kdc_do_version4 (
110 krb5_context /*context*/,
111 krb5_kdc_configuration */*config*/,
112 unsigned char */*buf*/,
113 size_t /*len*/,
114 krb5_data */*reply*/,
115 const char */*from*/,
116 struct sockaddr_in */*addr*/);
118 krb5_error_code
119 _kdc_encode_reply (
120 krb5_context /*context*/,
121 krb5_kdc_configuration */*config*/,
122 KDC_REP */*rep*/,
123 const EncTicketPart */*et*/,
124 EncKDCRepPart */*ek*/,
125 krb5_enctype /*etype*/,
126 int /*skvno*/,
127 const EncryptionKey */*skey*/,
128 int /*ckvno*/,
129 const EncryptionKey */*ckey*/,
130 const char **/*e_text*/,
131 krb5_data */*reply*/);
133 krb5_error_code
134 _kdc_encode_v4_ticket (
135 krb5_context /*context*/,
136 krb5_kdc_configuration */*config*/,
137 void */*buf*/,
138 size_t /*len*/,
139 const EncTicketPart */*et*/,
140 const PrincipalName */*service*/,
141 size_t */*size*/);
143 krb5_error_code
144 _kdc_find_etype (
145 krb5_context /*context*/,
146 const hdb_entry_ex */*princ*/,
147 krb5_enctype */*etypes*/,
148 unsigned /*len*/,
149 Key **/*ret_key*/,
150 krb5_enctype */*ret_etype*/);
152 const PA_DATA*
153 _kdc_find_padata (
154 const KDC_REQ */*req*/,
155 int */*start*/,
156 int /*type*/);
158 void
159 _kdc_fix_time (time_t **/*t*/);
161 void
162 _kdc_free_ent (
163 krb5_context /*context*/,
164 hdb_entry_ex */*ent*/);
166 krb5_error_code
167 _kdc_get_des_key (
168 krb5_context /*context*/,
169 hdb_entry_ex */*principal*/,
170 krb5_boolean /*is_server*/,
171 krb5_boolean /*prefer_afs_key*/,
172 Key **/*ret_key*/);
174 krb5_error_code
175 _kdc_get_preferred_key (
176 krb5_context /*context*/,
177 krb5_kdc_configuration */*config*/,
178 hdb_entry_ex */*h*/,
179 const char */*name*/,
180 krb5_enctype */*enctype*/,
181 Key **/*key*/);
183 void
184 _kdc_log_timestamp (
185 krb5_context /*context*/,
186 krb5_kdc_configuration */*config*/,
187 const char */*type*/,
188 KerberosTime /*authtime*/,
189 KerberosTime */*starttime*/,
190 KerberosTime /*endtime*/,
191 KerberosTime */*renew_till*/);
193 krb5_error_code
194 _kdc_make_anonymous_principalname (PrincipalName */*pn*/);
197 _kdc_maybe_version4 (
198 unsigned char */*buf*/,
199 int /*len*/);
201 krb5_error_code
202 _kdc_pac_generate (
203 krb5_context /*context*/,
204 hdb_entry_ex */*client*/,
205 krb5_pac */*pac*/);
207 krb5_error_code
208 _kdc_pac_verify (
209 krb5_context /*context*/,
210 const krb5_principal /*client_principal*/,
211 hdb_entry_ex */*client*/,
212 hdb_entry_ex */*server*/,
213 krb5_pac */*pac*/);
215 krb5_error_code
216 _kdc_pk_check_client (
217 krb5_context /*context*/,
218 krb5_kdc_configuration */*config*/,
219 const hdb_entry_ex */*client*/,
220 pk_client_params */*client_params*/,
221 char **/*subject_name*/);
223 void
224 _kdc_pk_free_client_param (
225 krb5_context /*context*/,
226 pk_client_params */*client_params*/);
228 krb5_error_code
229 _kdc_pk_initialize (
230 krb5_context /*context*/,
231 krb5_kdc_configuration */*config*/,
232 const char */*user_id*/,
233 const char */*anchors*/,
234 char **/*pool*/,
235 char **/*revoke_list*/);
237 krb5_error_code
238 _kdc_pk_mk_pa_reply (
239 krb5_context /*context*/,
240 krb5_kdc_configuration */*config*/,
241 pk_client_params */*client_params*/,
242 const hdb_entry_ex */*client*/,
243 const KDC_REQ */*req*/,
244 const krb5_data */*req_buffer*/,
245 krb5_keyblock **/*reply_key*/,
246 METHOD_DATA */*md*/);
248 krb5_error_code
249 _kdc_pk_rd_padata (
250 krb5_context /*context*/,
251 krb5_kdc_configuration */*config*/,
252 const KDC_REQ */*req*/,
253 const PA_DATA */*pa*/,
254 pk_client_params **/*ret_params*/);
256 krb5_error_code
257 _kdc_tgs_rep (
258 krb5_context /*context*/,
259 krb5_kdc_configuration */*config*/,
260 KDC_REQ */*req*/,
261 krb5_data */*data*/,
262 const char */*from*/,
263 struct sockaddr */*from_addr*/,
264 int /*datagram_reply*/);
266 krb5_error_code
267 _kdc_tkt_add_if_relevant_ad (
268 krb5_context /*context*/,
269 EncTicketPart */*tkt*/,
270 int /*type*/,
271 const krb5_data */*data*/);
273 krb5_error_code
274 _kdc_try_kx509_request (
275 void */*ptr*/,
276 size_t /*len*/,
277 Kx509Request */*req*/,
278 size_t */*size*/);
280 krb5_error_code
281 _kdc_windc_client_access (
282 krb5_context /*context*/,
283 struct hdb_entry_ex */*client*/,
284 KDC_REQ */*req*/);
286 #endif /* __kdc_private_h__ */