PHP.nl

rnp_dump_packets_to_json

rnp_dump_packets_to_json

Dump OpenPGP packets stream information to the JSON string

 **rnp_dump_packets_to_json** string $input int $flags

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

flags See predefined constants. RNP_JSON_DUMP_*

JSON string with dumpreturn.falseforfailure.