[][src]Constant sequoia_openpgp::parse::DEFAULT_MAX_RECURSION_DEPTH

pub const DEFAULT_MAX_RECURSION_DEPTH: u8

The default amount of acceptable nesting.

The default is 16.

Typically, we expect a message to looking like:

[ encryption container: [ compression container: [ signature: [ literal data ]]]]

So, this should be more than enough.

To change the maximum recursion depth, use PacketParserBuilder::max_recursion_depth.