def getMechanismType(mech_type):
    """
    Converts a value from the MechType enum into a gss_OID

    This method converts a value from the MechType enum into a gss_OID,
    which can be used in GSSAPI methods such as initSecContext

    :param MechType mech_type: the mechanism type
    :returns: a gss_OID capsule representing the selected mechanism type
    """
