rnp_dump_packets_to_json

Dump OpenPGP packets stream information to the JSON string

Description

stringfalse rnp_dump_packets_to_json(string $input, int $flags)

Parameters

input

Input string containing OpenPGP data, either in binary or ASCII-armored format.

flags

See RNP_JSON_DUMP_* predefined constants.

Return Values

JSON string with dump or false on failure.