ASN1Parser constructor

ASN1Parser(
  1. Uint8List _bytes, {
  2. bool relaxedParsing = false,
})

Create a new parser for the stream of _bytes if relaxedParsing is true, dont throw an exception if we encounter unknown ASN1 objects. Just encode them as an ASN1Object.

Implementation

ASN1Parser(this._bytes, {bool relaxedParsing = false})
    : _relaxedParsing = relaxedParsing;