GSSAPI::OID(3)

✨ NAME ✨

GSSAPI::OID(3) β€” okay bestie, this is the manual page from the User Contributed Perl Documentation crew. It's literally about methods for handling GSSAPI OIDs plus some constant OIDs. no cap. πŸ’…βœ¨

✨ SYNOPSIS ✨

Here's the exact code moment β€” keep these commands, names, and comments exactly as they are:

         use GSSAPI;

         #$oid = GSSAPI::OID->new;             # rarely needed or wanted

         $status = GSSAPI::OID->from_str($oid, "{ 1 2 840 113554 1 2 1 1 }");
         #
         # only supported on MIT Kerberos
         #

         $status = $oid->to_str($str);
         #
         # only supported on MIT Kerberos
         #

         $status = $oid->inquire_names($oidset);

         # Constant OIDs provided:
         $oid = gss_nt_user_name;
         $oid = gss_nt_machine_uid_name;
         $oid = gss_nt_string_uid_name;
         $oid = gss_nt_service_name;
         $oid = gss_nt_exported_name;
         $oid = gss_nt_service_name_v2;
         $oid = gss_nt_krb5_name;
         $oid = gss_nt_krb5_principal;
         $oid = gss_mech_krb5;
         $oid = gss_mech_krb5_old;
         $oid = gss_mech_krb5_v2;

         $oid = gss_mech_spnego;

         # if your GSSAPI implementation supports
         # SPNEGO (Heimdal 0.7 for example
         # you can  use mechtype OID::gss_mech_spnego.
         #
         # use GSSAPI::indicate_mechs( $oidset );
         # to get the of mechtypes your implementation supports

         $oid = gss_nt_hostbased_service; # GSS_C_NT_HOSTBASED_SERVICE
bestie, notice the # only supported on MIT Kerberos notes sitting right there by from_str and to_str. that's the original caveat, not me inventing drama. πŸ«–

πŸŽ€ DESCRIPTION πŸŽ€

So GSSAPI::OID objects are used as unique identifiers/constants for 'mechanisisms' β€” aka the particular protocol and version being used β€” and for the encodings used to represent names. In many cases you can request the default mechanism or encoding for the implementation by using GSS_C_NO_OID. If you're not sure, check the description of the routine in rfc2743, okay? 🧚

πŸ‘‘ AUTHOR πŸ‘‘

  • maintained by Achim Grolms <perl@grolmsnet.de>
  • originally written by Philip Guenther <pguen@cpan.org>

🌈 SEE ALSO 🌈


πŸ’– and that's the whole page, bestie! source/version: perl v5.42.2; date: 2025-06-30; manual: GSSAPI::OID(3). byeee, go handle those OIDs 🫢✨

πŸ“¦ where this page comes from