rnp_dump_packets_to_json
PHP function
Edit on GitHub ✎
(PECL rnp >= 0.1.1)
Dump OpenPGP packets stream information to the JSON string
Description
rnp_dump_packets_to_json(string $input, int $flags): string|false
Parameters
inputInput string containing OpenPGP data, either in binary or ASCII-armored format.
flagsSee
RNP_JSON_DUMP_*predefined constants.
Return Values
JSON string with dumpFalseforfailure.