1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
|
/* This is a generated file */
#ifndef __kdc_private_h__
#define __kdc_private_h__
#include <stdarg.h>
krb5_error_code
_kdc_add_KRB5SignedPath (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
hdb_entry_ex */*krbtgt*/,
krb5_enctype /*enctype*/,
krb5_principal /*client*/,
krb5_const_principal /*server*/,
krb5_principals /*principals*/,
EncTicketPart */*tkt*/);
krb5_error_code
_kdc_add_inital_verified_cas (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
pk_client_params */*cp*/,
EncTicketPart */*tkt*/);
krb5_error_code
_kdc_as_rep (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
KDC_REQ */*req*/,
const krb5_data */*req_buffer*/,
krb5_data */*reply*/,
const char */*from*/,
struct sockaddr */*from_addr*/,
int /*datagram_reply*/);
krb5_error_code
_kdc_check_access (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
hdb_entry_ex */*client_ex*/,
const char */*client_name*/,
hdb_entry_ex */*server_ex*/,
const char */*server_name*/,
KDC_REQ */*req*/,
krb5_data */*e_data*/);
krb5_boolean
_kdc_check_addresses (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
HostAddresses */*addresses*/,
const struct sockaddr */*from*/);
krb5_error_code
_kdc_db_fetch (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
krb5_const_principal /*principal*/,
unsigned /*flags*/,
krb5uint32 */*kvno_ptr*/,
HDB **/*db*/,
hdb_entry_ex **/*h*/);
krb5_error_code
_kdc_do_digest (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
const struct DigestREQ */*req*/,
krb5_data */*reply*/,
const char */*from*/,
struct sockaddr */*addr*/);
krb5_error_code
_kdc_do_kx509 (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
const struct Kx509Request */*req*/,
krb5_data */*reply*/,
const char */*from*/,
struct sockaddr */*addr*/);
krb5_error_code
_kdc_encode_reply (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
KDC_REP */*rep*/,
const EncTicketPart */*et*/,
EncKDCRepPart */*ek*/,
krb5_enctype /*etype*/,
int /*skvno*/,
const EncryptionKey */*skey*/,
int /*ckvno*/,
const EncryptionKey */*reply_key*/,
int /*rk_is_subkey*/,
const char **/*e_text*/,
krb5_data */*reply*/);
krb5_error_code
_kdc_find_etype (
krb5_context /*context*/,
krb5_boolean /*use_strongest_session_key*/,
krb5_boolean /*is_preauth*/,
hdb_entry_ex */*princ*/,
krb5_enctype */*etypes*/,
unsigned /*len*/,
krb5_enctype */*ret_enctype*/,
Key **/*ret_key*/);
const PA_DATA*
_kdc_find_padata (
const KDC_REQ */*req*/,
int */*start*/,
int /*type*/);
void
_kdc_fix_time (time_t **/*t*/);
void
_kdc_free_ent (
krb5_context /*context*/,
hdb_entry_ex */*ent*/);
krb5_error_code
_kdc_get_preferred_key (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
hdb_entry_ex */*h*/,
const char */*name*/,
krb5_enctype */*enctype*/,
Key **/*key*/);
krb5_boolean
_kdc_is_anonymous (
krb5_context /*context*/,
krb5_principal /*principal*/);
krb5_boolean
_kdc_is_weak_exception (
krb5_principal /*principal*/,
krb5_enctype /*etype*/);
void
_kdc_log_timestamp (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
const char */*type*/,
KerberosTime /*authtime*/,
KerberosTime */*starttime*/,
KerberosTime /*endtime*/,
KerberosTime */*renew_till*/);
krb5_error_code
_kdc_make_anonymous_principalname (PrincipalName */*pn*/);
krb5_error_code
_kdc_pac_generate (
krb5_context /*context*/,
hdb_entry_ex */*client*/,
krb5_pac */*pac*/);
krb5_error_code
_kdc_pac_verify (
krb5_context /*context*/,
const krb5_principal /*client_principal*/,
const krb5_principal /*delegated_proxy_principal*/,
hdb_entry_ex */*client*/,
hdb_entry_ex */*server*/,
hdb_entry_ex */*krbtgt*/,
krb5_pac */*pac*/,
int */*verified*/);
krb5_error_code
_kdc_pk_check_client (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
HDB */*clientdb*/,
hdb_entry_ex */*client*/,
pk_client_params */*cp*/,
char **/*subject_name*/);
void
_kdc_pk_free_client_param (
krb5_context /*context*/,
pk_client_params */*cp*/);
krb5_error_code
_kdc_pk_mk_pa_reply (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
pk_client_params */*cp*/,
const hdb_entry_ex */*client*/,
krb5_enctype /*sessionetype*/,
const KDC_REQ */*req*/,
const krb5_data */*req_buffer*/,
krb5_keyblock **/*reply_key*/,
krb5_keyblock */*sessionkey*/,
METHOD_DATA */*md*/);
krb5_error_code
_kdc_pk_rd_padata (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
const KDC_REQ */*req*/,
const PA_DATA */*pa*/,
hdb_entry_ex */*client*/,
pk_client_params **/*ret_params*/);
krb5_error_code
_kdc_tgs_rep (
krb5_context /*context*/,
krb5_kdc_configuration */*config*/,
KDC_REQ */*req*/,
krb5_data */*data*/,
const char */*from*/,
struct sockaddr */*from_addr*/,
int /*datagram_reply*/);
krb5_error_code
_kdc_tkt_add_if_relevant_ad (
krb5_context /*context*/,
EncTicketPart */*tkt*/,
int /*type*/,
const krb5_data */*data*/);
krb5_error_code
_kdc_try_kx509_request (
void */*ptr*/,
size_t /*len*/,
struct Kx509Request */*req*/,
size_t */*size*/);
#endif /* __kdc_private_h__ */
|