Lines Matching refs:mech

216      * <mech OID bytes>
307 gss_mechanism mech;
309 mech = gssint_get_mechanism (mech_type);
310 if (mech) {
311 if (mech->gss_import_name) {
312 status = mech->gss_import_name (
313 mech->context, /* SUNW17PACresync */
319 map_error(minor_status, mech);
337 gss_mechanism mech;
347 mech = gssint_get_mechanism(mech_type);
348 if (!mech)
351 if (mech->gss_export_name) {
352 status = mech->gss_export_name(
353 mech->context, /* SUNW17PACresync */
358 map_error(minor_status, mech);
367 if (!mech->gss_display_name)
374 * and, for some (e.g., RFC1964, the Kerberos V mech), a
378 * (0x0401) + 2-octet network-byte order mech OID length + mech
387 * the mech and into libgss pays off.
389 if ((status = mech->gss_display_name(
390 mech->context,
396 map_error(minor_status, mech);
419 /* spec allows only 2 bytes for the mech oid length */
425 * DER Encoding of mech OID contains OID Tag (0x06), length and
426 * mech OID value
461 gss_mechanism mech;
463 mech = gssint_get_mechanism (mech_type);
464 if (mech) {
465 if (mech->gss_display_name) {
466 status = mech->gss_display_name (
467 mech->context,
473 map_error(minor_status, mech);
489 gss_mechanism mech;
491 mech = gssint_get_mechanism (mech_type);
492 if (mech) {
493 if (mech->gss_release_name) {
494 status = mech->gss_release_name (
495 mech->context,
499 map_error(minor_status, mech);
519 gss_mechanism mech;
521 mech = gssint_get_mechanism (mech_type);
522 if (mech) {
523 if (mech->gss_delete_sec_context)
524 status = mech->gss_delete_sec_context (
525 mech->context, /* SUNW17PACresync */
544 OM_uint32 gssint_convert_name_to_union_name(minor_status, mech,
547 gss_mechanism mech;
566 major_status = generic_gss_copy_oid(minor_status, &mech->mech_type,
584 major_status = mech->gss_display_name(
585 mech->context, /* SUNW17PACresync */
591 map_error(minor_status, mech);
617 (void) gssint_release_internal_name(&tmp, &mech->mech_type,