A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pythongssapi.github.io/python-gssapi/latest/_modules/gssapi/raw/ext_rfc5801.html below:

Website Navigation


gssapi.raw.ext_rfc5801 — Python-GSSAPI 1.9.0 documentation

Source code for gssapi.raw.ext_rfc5801
import typing as t

if t.TYPE_CHECKING:
    from gssapi.raw.named_tuples import InquireSASLNameResult
    from gssapi.raw.oids import OID



[docs]
def inquire_saslname_for_mech(
    mech: "OID",
) -> "InquireSASLNameResult":
    """Gets information about a specified mech, including the SASL name,
    the mech name, and the mech description.

    Args:
        mech (~gssapi.OID): Mechanism to inquire about

    Returns:
        InquireSASLNameResult: the results of inquiry; a mech's SASL name,
        name, and description.

    Raises:
        ~gssapi.exceptions.GSSError: an unknown failure occurred
    """




[docs]
def inquire_mech_for_saslname(
    sasl_name: bytes,
) -> "OID":
    """Gets the OID for the mech specified by SASL name.

    Args:
        sasl_name (bytes): SASL name of the mechanism

    Returns:
        ~gssapi.OID: the mechanism with corresponding SASL name.

    Raises:
        ~gssapi.exceptions.GSSError: An unknown failure occurred
    """


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4