From 29b9fb6114e2808e7964c014e1b67ff95fc0b615 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Wed, 12 Sep 2018 21:51:07 +0300 Subject: [PATCH] SET OF can contain bered attribute --- doc/examples.rst | 2 +- pyderasn.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.0