Skip to content
Snippets Groups Projects
Select Git revision
  • branch/default default protected
  • master
  • release-0.4.9
  • add-unittest-assertion
  • add-except-clause-support
  • deprecate-size-spec
  • add-consistency-check-hook
  • add-with-components-constraint
  • fix-setof-slicing
  • fix-cer-der-tagged-any
  • improve-open-type-docs
  • add-set-of-any-support
  • fix-generalized-time-encoding
  • sequenceof-to-remain-schema
  • fix-dump-raw-value
  • fix-constructed-default
  • add-more-debug-logging
  • novalue-fixes-in-docs
  • codecs-produce-python-builtins
  • self-referencing-types
20 results

pyasn1

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Ilya Etingof authored
    The goal of this change is to make the decoder yielding on input
    data starvation and resuming from where it stopped whenever the
    caller decides to try again (hopefully making sure that some more
    input becomes available).
    
    This change makes it possible for the decoder to operate on streams
    of data (meaning that the entire DER blob might not be immediately
    available on input).
    
    On top of that, the decoder yields partially reconstructed ASN.1
    object on input starvation making it possible for the caller to
    inspect what has been decoded so far and possibly consume partial
    ASN.1 data.
    
    All these new feature are natively available through
    `StreamingDecoder` class. Previously published API is implemented
    as a thin wrapper on top of that ensuring backward compatibility.
    429a0728
    History
    Name Last commit Last update