File: __init__.py

package info (click to toggle)
python-gssapi 1.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 876 kB
  • sloc: python: 3,707; sh: 198; makefile: 154; ansic: 60
file content (54 lines) | stat: -rw-r--r-- 1,336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
"""High-Level GSSAPI Bindings

The high-level API contains three main classes, which represent
the primary abstractions that GSSAPI provides:

    Name (see gssapi.names)

    Credentials (see gssapi.creds)

    SecurityContext (see gssapi.sec_contexts)

Additionally, a number of helper classes shared with the low-level API
exist as well:

    Enums (see gssapi.raw.types) --
        NameType, RequirementFlag, AddressType, MechType

    IntEnumFlagSet (see gssapi.raw.types)

    OID (see gssapi.raw.oids)

Note:

    Classes in the high-level API inherit from the corresponding
    classes in the low-level API, and thus may be passed in to
    low-level API functions.
"""

import gssapi._win_config  # noqa

from gssapi.raw.types import NameType, RequirementFlag, AddressType  # noqa
from gssapi.raw.types import MechType, IntEnumFlagSet  # noqa
from gssapi.raw.oids import OID  # noqa

from gssapi.creds import Credentials  # noqa
from gssapi.names import Name  # noqa
from gssapi.sec_contexts import SecurityContext  # noqa
from gssapi.mechs import Mechanism  # noqa

from gssapi._utils import set_encoding  # noqa

__all__ = [
    'AddressType',
    'Credentials',
    'IntEnumFlagSet',
    'Mechanism',
    'MechType',
    'Name',
    'NameType',
    'OID',
    'RequirementFlag',
    'SecurityContext',
    'set_encoding',
]