(PECL rnp >= 0.1.1)
rnp_dump_packets_to_json — Dump OpenPGP packets stream information to the JSON string
$input, int $flags): string|false
inputInput string containing OpenPGP data, either in binary or ASCII-armored format.
flags
      See RNP_JSON_DUMP_* predefined constants.
     
   JSON string with dump ou false si une erreur survient.