X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;fp=pyderasn.py;h=bb62acb437c203fa31ee66e03d6789e302a59fdd;hp=4a3692795c3974b760b1a20fd9971c05308c078a;hb=bfce27caa529762d95ad2e4b02506d7eec7fe3bf;hpb=6e7c396eadd0193a18870650b6c23abbacea1591 diff --git a/pyderasn.py b/pyderasn.py index 4a36927..bb62acb 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -6107,7 +6107,7 @@ SequenceState = namedtuple( ) -class SequenceEncode1stMixing: +class SequenceEncode1stMixin: __slots__ = () def _encode1st(self, state): @@ -6121,7 +6121,7 @@ class SequenceEncode1stMixing: return len(self.tag) + len_size(vlen) + vlen, state -class Sequence(SequenceEncode1stMixing, Obj): +class Sequence(SequenceEncode1stMixin, Obj): """``SEQUENCE`` structure type You have to make specification of sequence:: @@ -6619,7 +6619,7 @@ class Sequence(SequenceEncode1stMixing, Obj): yield pp -class Set(Sequence, SequenceEncode1stMixing): +class Set(Sequence, SequenceEncode1stMixin): """``SET`` structure type Its usage is identical to :py:class:`pyderasn.Sequence`. @@ -6822,7 +6822,7 @@ SequenceOfState = namedtuple( ) -class SequenceOf(SequenceEncode1stMixing, Obj): +class SequenceOf(SequenceEncode1stMixin, Obj): """``SEQUENCE OF`` sequence type For that kind of type you must specify the object it will carry on