Adds an enum with Ber and Der (default) variants which can be used to selectively allow a limited number of BER productions when decoding certain BER-based security-oriented formats, e.g. CMS, PKCS#8.
Currently this doesn't actually do anything, however the goal is to address #779, where we can't decode CMS generated by Apple tooling.
PR #810 is an example of how the rules could be relaxed to support IndefiniteLengths.
Adds an enum with
Ber
andDer
(default) variants which can be used to selectively allow a limited number of BER productions when decoding certain BER-based security-oriented formats, e.g. CMS, PKCS#8.Currently this doesn't actually do anything, however the goal is to address #779, where we can't decode CMS generated by Apple tooling.
PR #810 is an example of how the rules could be relaxed to support
IndefiniteLength
s.