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