From: Sergey Matveev Date: Wed, 12 Sep 2018 18:51:07 +0000 (+0300) Subject: SET OF can contain bered attribute X-Git-Tag: 4.1~2 X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=commitdiff_plain;h=29b9fb6114e2808e7964c014e1b67ff95fc0b615 SET OF can contain bered attribute --- diff --git a/doc/examples.rst b/doc/examples.rst index 25e2cf4..5467482 100644 --- a/doc/examples.rst +++ b/doc/examples.rst @@ -278,7 +278,7 @@ Let's parse that output, human:: Only applicable to BER encoded data. If object has BER-specific encoding, then ``BER`` will be shown. It does not depend on indefinite length encoding. ``EOC``, ``BOOLEAN``, ``BIT STRING``, ``OCTET STRING`` - (and its derivatives) could be BERed. + (and its derivatives), ``SET``, ``SET OF`` could be BERed. As command line utility ----------------------- diff --git a/pyderasn.py b/pyderasn.py index df639eb..607ca50 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -384,7 +384,7 @@ constructed primitive types should be parsed successfully. * If object is encoded in BER form (not the DER one), then ``bered`` attribute is set to True. Only ``BOOLEAN``, ``BIT STRING``, ``OCTET - STRING``, ``SEQUENCE``, ``SET`` can contain it. + STRING``, ``SEQUENCE``, ``SET``, ``SET OF`` can contain it. * If object has an indefinite length encoding, then its ``lenindef`` attribute is set to True. Only ``BIT STRING``, ``OCTET STRING``, ``SEQUENCE``, ``SET``, ``SEQUENCE OF``, ``SET OF``, ``ANY`` can