We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f02fc7 commit 570a6daCopy full SHA for 570a6da
gssapi/raw/oids.pyx
@@ -11,8 +11,18 @@ cdef inline bint c_compare_oids(gss_OID a, gss_OID b):
11
12
13
cdef class OID:
14
- """
15
- GSSAPI OID
+ """GSSAPI OID
+
16
+ A new OID may be created by passing the `elements` argument
17
+ to the constructor. The `elements` argument should be a
18
+ `bytes` consisting of the BER-encoded values in the OID.
19
20
+ To retrive the underlying bytes, use the :func:`bytes`
21
+ function in Python 3 or the :meth:`__bytes__` method directly
22
+ in Python 2.
23
24
+ This object is hashable, and may be compared using equality
25
+ operators.
26
"""
27
# defined in pxd
28
# cdef gss_OID_desc raw_oid = NULL
0 commit comments