248
249 struct gss_sign_res {
250 OM_UINT32 minor_status; /* status from the mechanism */
251 GSS_BUFFER_T msg_token; /* msg_token */
252 OM_UINT32 status; /* status of GSSAPI call */
253 };
254
255 struct gss_verify_arg {
256 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
257 GSS_CTX_ID_T context_handle; /* handle to existing context */
258 GSS_BUFFER_T message_buffer; /* message to verify */
259 GSS_BUFFER_T token_buffer; /* buffer containg token */
260 };
261
262 struct gss_verify_res {
263 OM_UINT32 minor_status; /* status from the mechanism */
264 int qop_state; /* quality of protection */
265 OM_UINT32 status; /* status of GSSAPI call */
266 };
267
268 %/* EXPORT DELETE START */
269 struct gss_seal_arg {
270 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
271 GSS_CTX_ID_T context_handle; /* handle to existing context */
272 int conf_req_flag; /* type of conf requested */
273 int qop_req; /* quality of prot. requested */
274 GSS_BUFFER_T input_message_buffer; /* message to protect */
275 };
276
277 struct gss_seal_res {
278 OM_UINT32 minor_status; /* status from the mechanism */
279 int conf_state; /* type of conf. applied */
280 GSS_BUFFER_T output_message_buffer; /* protected message */
281 OM_UINT32 status; /* status of GSSAPI call */
282 };
283
284 struct gss_unseal_arg {
285 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
286 GSS_CTX_ID_T context_handle; /* handle to existing context */
287 GSS_BUFFER_T input_message_buffer; /* message to protect */
288 };
289
290 struct gss_unseal_res {
291 OM_UINT32 minor_status; /* status from the mechanism */
292 GSS_BUFFER_T output_message_buffer; /* protected message */
293 int conf_state; /* type of conf. provided */
294 int qop_state; /* quality of prot. provided */
295 OM_UINT32 status; /* status of GSSAPI call */
296 };
297
298 %/* EXPORT DELETE END */
299
300 struct gss_display_status_arg {
301 uid_t uid; /* client uid */
302 int status_value; /* status to be converted */
303 int status_type; /* GSS or mech status */
304 GSS_OID mech_type; /* mechanism */
305 OM_UINT32 message_context; /* recursion flag */
306 };
307
308 struct gss_display_status_res {
309 OM_UINT32 minor_status; /* status from the mechanism */
310 int message_context; /* recursion flag */
311 GSS_BUFFER_T status_string; /* text equiv of status */
312 OM_UINT32 status; /* status of GSSAPI call */
313 };
314
315 %/* gss_indicate_mechs_arg is void. This appears in the rpc call def */
316
317 struct gss_indicate_mechs_res {
318 OM_UINT32 minor_status; /* status from the mechanism */
319 GSS_OID_SET mech_set; /* mechanism set supported */
465
466 /*
467 * Called to translate minor status into a string.
468 */
469 gss_display_status_res
470 GSS_DISPLAY_STATUS(gss_display_status_arg) = 10;
471
472 /*
473 * Called to indicate which underlying mechanisms are supported
474 */
475 gss_indicate_mechs_res
476 GSS_INDICATE_MECHS(void) = 11;
477
478 /*
479 * Called by the client to inquire about a credential.
480 */
481 gss_inquire_cred_res
482 GSS_INQUIRE_CRED(gss_inquire_cred_arg) = 12;
483
484
485 /* EXPORT DELETE START */
486
487 /*
488 * Called to seal a message.
489 */
490 gss_seal_res GSS_SEAL(gss_seal_arg) = 13;
491
492 /*
493 * Called to unseal a message.
494 */
495 gss_unseal_res GSS_UNSEAL(gss_unseal_arg) = 14;
496
497 /* EXPORT DELETE END */
498
499 /*
500 * gsscred interface functions to obtain principal uid and gids
501 */
502 gsscred_expname_to_unix_cred_res
503 GSSCRED_EXPNAME_TO_UNIX_CRED(
504 gsscred_expname_to_unix_cred_arg) = 15;
505
506 gsscred_name_to_unix_cred_res
507 GSSCRED_NAME_TO_UNIX_CRED(
508 gsscred_name_to_unix_cred_arg) = 16;
509
510 gss_get_group_info_res
511 GSS_GET_GROUP_INFO(gss_get_group_info_arg) = 17;
512
513 gss_get_kmod_res
514 GSS_GET_KMOD(gss_get_kmod_arg) = 18;
515
516 gss_export_sec_context_res
517 GSS_EXPORT_SEC_CONTEXT(gss_export_sec_context_arg) = 19;
518
|
248
249 struct gss_sign_res {
250 OM_UINT32 minor_status; /* status from the mechanism */
251 GSS_BUFFER_T msg_token; /* msg_token */
252 OM_UINT32 status; /* status of GSSAPI call */
253 };
254
255 struct gss_verify_arg {
256 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
257 GSS_CTX_ID_T context_handle; /* handle to existing context */
258 GSS_BUFFER_T message_buffer; /* message to verify */
259 GSS_BUFFER_T token_buffer; /* buffer containg token */
260 };
261
262 struct gss_verify_res {
263 OM_UINT32 minor_status; /* status from the mechanism */
264 int qop_state; /* quality of protection */
265 OM_UINT32 status; /* status of GSSAPI call */
266 };
267
268 struct gss_seal_arg {
269 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
270 GSS_CTX_ID_T context_handle; /* handle to existing context */
271 int conf_req_flag; /* type of conf requested */
272 int qop_req; /* quality of prot. requested */
273 GSS_BUFFER_T input_message_buffer; /* message to protect */
274 };
275
276 struct gss_seal_res {
277 OM_UINT32 minor_status; /* status from the mechanism */
278 int conf_state; /* type of conf. applied */
279 GSS_BUFFER_T output_message_buffer; /* protected message */
280 OM_UINT32 status; /* status of GSSAPI call */
281 };
282
283 struct gss_unseal_arg {
284 OM_UINT32 gssd_context_verifier; /* verifier for context handles */
285 GSS_CTX_ID_T context_handle; /* handle to existing context */
286 GSS_BUFFER_T input_message_buffer; /* message to protect */
287 };
288
289 struct gss_unseal_res {
290 OM_UINT32 minor_status; /* status from the mechanism */
291 GSS_BUFFER_T output_message_buffer; /* protected message */
292 int conf_state; /* type of conf. provided */
293 int qop_state; /* quality of prot. provided */
294 OM_UINT32 status; /* status of GSSAPI call */
295 };
296
297 struct gss_display_status_arg {
298 uid_t uid; /* client uid */
299 int status_value; /* status to be converted */
300 int status_type; /* GSS or mech status */
301 GSS_OID mech_type; /* mechanism */
302 OM_UINT32 message_context; /* recursion flag */
303 };
304
305 struct gss_display_status_res {
306 OM_UINT32 minor_status; /* status from the mechanism */
307 int message_context; /* recursion flag */
308 GSS_BUFFER_T status_string; /* text equiv of status */
309 OM_UINT32 status; /* status of GSSAPI call */
310 };
311
312 %/* gss_indicate_mechs_arg is void. This appears in the rpc call def */
313
314 struct gss_indicate_mechs_res {
315 OM_UINT32 minor_status; /* status from the mechanism */
316 GSS_OID_SET mech_set; /* mechanism set supported */
462
463 /*
464 * Called to translate minor status into a string.
465 */
466 gss_display_status_res
467 GSS_DISPLAY_STATUS(gss_display_status_arg) = 10;
468
469 /*
470 * Called to indicate which underlying mechanisms are supported
471 */
472 gss_indicate_mechs_res
473 GSS_INDICATE_MECHS(void) = 11;
474
475 /*
476 * Called by the client to inquire about a credential.
477 */
478 gss_inquire_cred_res
479 GSS_INQUIRE_CRED(gss_inquire_cred_arg) = 12;
480
481
482 /*
483 * Called to seal a message.
484 */
485 gss_seal_res GSS_SEAL(gss_seal_arg) = 13;
486
487 /*
488 * Called to unseal a message.
489 */
490 gss_unseal_res GSS_UNSEAL(gss_unseal_arg) = 14;
491
492 /*
493 * gsscred interface functions to obtain principal uid and gids
494 */
495 gsscred_expname_to_unix_cred_res
496 GSSCRED_EXPNAME_TO_UNIX_CRED(
497 gsscred_expname_to_unix_cred_arg) = 15;
498
499 gsscred_name_to_unix_cred_res
500 GSSCRED_NAME_TO_UNIX_CRED(
501 gsscred_name_to_unix_cred_arg) = 16;
502
503 gss_get_group_info_res
504 GSS_GET_GROUP_INFO(gss_get_group_info_arg) = 17;
505
506 gss_get_kmod_res
507 GSS_GET_KMOD(gss_get_kmod_arg) = 18;
508
509 gss_export_sec_context_res
510 GSS_EXPORT_SEC_CONTEXT(gss_export_sec_context_arg) = 19;
511
|