1 /* This is a generated file */ 2 #ifndef __spnego_private_h__ 3 #define __spnego_private_h__ 4 5 #include <stdarg.h> 6 7 gssapi_mech_interface 8 __gss_spnego_initialize (void); 9 10 OM_uint32 11 _gss_spnego_accept_sec_context ( 12 OM_uint32 * /*minor_status*/, 13 gss_ctx_id_t * /*context_handle*/, 14 const gss_cred_id_t /*acceptor_cred_handle*/, 15 const gss_buffer_t /*input_token_buffer*/, 16 const gss_channel_bindings_t /*input_chan_bindings*/, 17 gss_name_t * /*src_name*/, 18 gss_OID * /*mech_type*/, 19 gss_buffer_t /*output_token*/, 20 OM_uint32 * /*ret_flags*/, 21 OM_uint32 * /*time_rec*/, 22 gss_cred_id_t *delegated_cred_handle ); 23 24 OM_uint32 25 _gss_spnego_acquire_cred ( 26 OM_uint32 */*minor_status*/, 27 const gss_name_t /*desired_name*/, 28 OM_uint32 /*time_req*/, 29 const gss_OID_set /*desired_mechs*/, 30 gss_cred_usage_t /*cred_usage*/, 31 gss_cred_id_t * /*output_cred_handle*/, 32 gss_OID_set * /*actual_mechs*/, 33 OM_uint32 * time_rec ); 34 35 OM_uint32 36 _gss_spnego_add_cred ( 37 OM_uint32 * /*minor_status*/, 38 const gss_cred_id_t /*input_cred_handle*/, 39 const gss_name_t /*desired_name*/, 40 const gss_OID /*desired_mech*/, 41 gss_cred_usage_t /*cred_usage*/, 42 OM_uint32 /*initiator_time_req*/, 43 OM_uint32 /*acceptor_time_req*/, 44 gss_cred_id_t * /*output_cred_handle*/, 45 gss_OID_set * /*actual_mechs*/, 46 OM_uint32 * /*initiator_time_rec*/, 47 OM_uint32 * acceptor_time_rec ); 48 49 OM_uint32 50 _gss_spnego_alloc_cred ( 51 OM_uint32 */*minor_status*/, 52 gss_cred_id_t /*mech_cred_handle*/, 53 gss_cred_id_t */*cred_handle*/); 54 55 OM_uint32 56 _gss_spnego_alloc_sec_context ( 57 OM_uint32 * /*minor_status*/, 58 gss_ctx_id_t */*context_handle*/); 59 60 OM_uint32 61 _gss_spnego_canonicalize_name ( 62 OM_uint32 * /*minor_status*/, 63 const gss_name_t /*input_name*/, 64 const gss_OID /*mech_type*/, 65 gss_name_t * output_name ); 66 67 OM_uint32 68 _gss_spnego_compare_name ( 69 OM_uint32 */*minor_status*/, 70 const gss_name_t /*name1*/, 71 const gss_name_t /*name2*/, 72 int * name_equal ); 73 74 OM_uint32 75 _gss_spnego_context_time ( 76 OM_uint32 */*minor_status*/, 77 const gss_ctx_id_t /*context_handle*/, 78 OM_uint32 *time_rec ); 79 80 OM_uint32 81 _gss_spnego_delete_sec_context ( 82 OM_uint32 */*minor_status*/, 83 gss_ctx_id_t */*context_handle*/, 84 gss_buffer_t output_token ); 85 86 OM_uint32 87 _gss_spnego_display_name ( 88 OM_uint32 * /*minor_status*/, 89 const gss_name_t /*input_name*/, 90 gss_buffer_t /*output_name_buffer*/, 91 gss_OID * output_name_type ); 92 93 OM_uint32 94 _gss_spnego_display_status ( 95 OM_uint32 * /*minor_status*/, 96 OM_uint32 /*status_value*/, 97 int /*status_type*/, 98 const gss_OID /*mech_type*/, 99 OM_uint32 * /*message_context*/, 100 gss_buffer_t status_string ); 101 102 OM_uint32 103 _gss_spnego_duplicate_name ( 104 OM_uint32 * /*minor_status*/, 105 const gss_name_t /*src_name*/, 106 gss_name_t * dest_name ); 107 108 OM_uint32 109 _gss_spnego_export_name ( 110 OM_uint32 * /*minor_status*/, 111 const gss_name_t /*input_name*/, 112 gss_buffer_t exported_name ); 113 114 OM_uint32 115 _gss_spnego_export_sec_context ( 116 OM_uint32 * /*minor_status*/, 117 gss_ctx_id_t * /*context_handle*/, 118 gss_buffer_t interprocess_token ); 119 120 OM_uint32 121 _gss_spnego_get_mic ( 122 OM_uint32 */*minor_status*/, 123 const gss_ctx_id_t /*context_handle*/, 124 gss_qop_t /*qop_req*/, 125 const gss_buffer_t /*message_buffer*/, 126 gss_buffer_t message_token ); 127 128 OM_uint32 129 _gss_spnego_import_name ( 130 OM_uint32 * /*minor_status*/, 131 const gss_buffer_t /*name_buffer*/, 132 const gss_OID /*name_type*/, 133 gss_name_t * output_name ); 134 135 OM_uint32 136 _gss_spnego_import_sec_context ( 137 OM_uint32 * /*minor_status*/, 138 const gss_buffer_t /*interprocess_token*/, 139 gss_ctx_id_t *context_handle ); 140 141 OM_uint32 142 _gss_spnego_indicate_mechtypelist ( 143 OM_uint32 */*minor_status*/, 144 gss_name_t /*target_name*/, 145 OM_uint32 (*/*func*/)(gss_name_t, gss_OID), 146 int /*includeMSCompatOID*/, 147 const gssspnego_cred /*cred_handle*/, 148 MechTypeList */*mechtypelist*/, 149 gss_OID */*preferred_mech*/); 150 151 OM_uint32 152 _gss_spnego_init_sec_context ( 153 OM_uint32 * /*minor_status*/, 154 const gss_cred_id_t /*initiator_cred_handle*/, 155 gss_ctx_id_t * /*context_handle*/, 156 const gss_name_t /*target_name*/, 157 const gss_OID /*mech_type*/, 158 OM_uint32 /*req_flags*/, 159 OM_uint32 /*time_req*/, 160 const gss_channel_bindings_t /*input_chan_bindings*/, 161 const gss_buffer_t /*input_token*/, 162 gss_OID * /*actual_mech_type*/, 163 gss_buffer_t /*output_token*/, 164 OM_uint32 * /*ret_flags*/, 165 OM_uint32 * time_rec ); 166 167 OM_uint32 168 _gss_spnego_inquire_context ( 169 OM_uint32 * /*minor_status*/, 170 const gss_ctx_id_t /*context_handle*/, 171 gss_name_t * /*src_name*/, 172 gss_name_t * /*targ_name*/, 173 OM_uint32 * /*lifetime_rec*/, 174 gss_OID * /*mech_type*/, 175 OM_uint32 * /*ctx_flags*/, 176 int * /*locally_initiated*/, 177 int * open_context ); 178 179 OM_uint32 180 _gss_spnego_inquire_cred ( 181 OM_uint32 * /*minor_status*/, 182 const gss_cred_id_t /*cred_handle*/, 183 gss_name_t * /*name*/, 184 OM_uint32 * /*lifetime*/, 185 gss_cred_usage_t * /*cred_usage*/, 186 gss_OID_set * mechanisms ); 187 188 OM_uint32 189 _gss_spnego_inquire_cred_by_mech ( 190 OM_uint32 * /*minor_status*/, 191 const gss_cred_id_t /*cred_handle*/, 192 const gss_OID /*mech_type*/, 193 gss_name_t * /*name*/, 194 OM_uint32 * /*initiator_lifetime*/, 195 OM_uint32 * /*acceptor_lifetime*/, 196 gss_cred_usage_t * cred_usage ); 197 198 OM_uint32 199 _gss_spnego_inquire_cred_by_oid ( 200 OM_uint32 * /*minor_status*/, 201 const gss_cred_id_t /*cred_handle*/, 202 const gss_OID /*desired_object*/, 203 gss_buffer_set_t */*data_set*/); 204 205 OM_uint32 206 _gss_spnego_inquire_mechs_for_name ( 207 OM_uint32 * /*minor_status*/, 208 const gss_name_t /*input_name*/, 209 gss_OID_set * mech_types ); 210 211 OM_uint32 212 _gss_spnego_inquire_names_for_mech ( 213 OM_uint32 * /*minor_status*/, 214 const gss_OID /*mechanism*/, 215 gss_OID_set * name_types ); 216 217 OM_uint32 218 _gss_spnego_inquire_sec_context_by_oid ( 219 OM_uint32 * /*minor_status*/, 220 const gss_ctx_id_t /*context_handle*/, 221 const gss_OID /*desired_object*/, 222 gss_buffer_set_t */*data_set*/); 223 224 OM_uint32 225 _gss_spnego_internal_delete_sec_context ( 226 OM_uint32 */*minor_status*/, 227 gss_ctx_id_t */*context_handle*/, 228 gss_buffer_t output_token ); 229 230 OM_uint32 231 _gss_spnego_process_context_token ( 232 OM_uint32 */*minor_status*/, 233 const gss_ctx_id_t /*context_handle*/, 234 const gss_buffer_t token_buffer ); 235 236 OM_uint32 237 _gss_spnego_release_cred ( 238 OM_uint32 */*minor_status*/, 239 gss_cred_id_t */*cred_handle*/); 240 241 OM_uint32 242 _gss_spnego_release_name ( 243 OM_uint32 * /*minor_status*/, 244 gss_name_t * input_name ); 245 246 OM_uint32 247 _gss_spnego_require_mechlist_mic ( 248 OM_uint32 */*minor_status*/, 249 gssspnego_ctx /*ctx*/, 250 int */*require_mic*/); 251 252 OM_uint32 253 _gss_spnego_seal ( 254 OM_uint32 * /*minor_status*/, 255 gss_ctx_id_t /*context_handle*/, 256 int /*conf_req_flag*/, 257 int /*qop_req*/, 258 gss_buffer_t /*input_message_buffer*/, 259 int * /*conf_state*/, 260 gss_buffer_t output_message_buffer ); 261 262 OM_uint32 263 _gss_spnego_set_sec_context_option ( 264 OM_uint32 * /*minor_status*/, 265 gss_ctx_id_t * /*context_handle*/, 266 const gss_OID /*desired_object*/, 267 const gss_buffer_t /*value*/); 268 269 OM_uint32 270 _gss_spnego_sign ( 271 OM_uint32 * /*minor_status*/, 272 gss_ctx_id_t /*context_handle*/, 273 int /*qop_req*/, 274 gss_buffer_t /*message_buffer*/, 275 gss_buffer_t message_token ); 276 277 OM_uint32 278 _gss_spnego_unseal ( 279 OM_uint32 * /*minor_status*/, 280 gss_ctx_id_t /*context_handle*/, 281 gss_buffer_t /*input_message_buffer*/, 282 gss_buffer_t /*output_message_buffer*/, 283 int * /*conf_state*/, 284 int * qop_state ); 285 286 OM_uint32 287 _gss_spnego_unwrap ( 288 OM_uint32 * /*minor_status*/, 289 const gss_ctx_id_t /*context_handle*/, 290 const gss_buffer_t /*input_message_buffer*/, 291 gss_buffer_t /*output_message_buffer*/, 292 int * /*conf_state*/, 293 gss_qop_t * qop_state ); 294 295 OM_uint32 296 _gss_spnego_verify ( 297 OM_uint32 * /*minor_status*/, 298 gss_ctx_id_t /*context_handle*/, 299 gss_buffer_t /*message_buffer*/, 300 gss_buffer_t /*token_buffer*/, 301 int * qop_state ); 302 303 OM_uint32 304 _gss_spnego_verify_mic ( 305 OM_uint32 * /*minor_status*/, 306 const gss_ctx_id_t /*context_handle*/, 307 const gss_buffer_t /*message_buffer*/, 308 const gss_buffer_t /*token_buffer*/, 309 gss_qop_t * qop_state ); 310 311 OM_uint32 312 _gss_spnego_wrap ( 313 OM_uint32 * /*minor_status*/, 314 const gss_ctx_id_t /*context_handle*/, 315 int /*conf_req_flag*/, 316 gss_qop_t /*qop_req*/, 317 const gss_buffer_t /*input_message_buffer*/, 318 int * /*conf_state*/, 319 gss_buffer_t output_message_buffer ); 320 321 OM_uint32 322 _gss_spnego_wrap_size_limit ( 323 OM_uint32 * /*minor_status*/, 324 const gss_ctx_id_t /*context_handle*/, 325 int /*conf_req_flag*/, 326 gss_qop_t /*qop_req*/, 327 OM_uint32 /*req_output_size*/, 328 OM_uint32 * max_input_size ); 329 330 #endif /* __spnego_private_h__ */ 331