readFullyToAsn1Elements

Reads all parsable ASN.1 elements from this source.

Parameters

limit

the maximum allowed total number of encoded DER bytes to consume. This limit is enforced before reading or peeking from the underlying source.

Throws

on error if any illegal element or any trailing bytes are encountered