array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'function.rnp-import-signatures.php', 1 => 'rnp_import_signatures', 2 => 'Import standalone signatures to the keyring and receive JSON describing updated keys', ), 'up' => array ( 0 => 'ref.rnp.php', 1 => 'Rnp 函数', ), 'prev' => array ( 0 => 'function.rnp-import-keys.php', 1 => 'rnp_import_keys', ), 'next' => array ( 0 => 'function.rnp-key-export.php', 1 => 'rnp_key_export', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/rnp/functions/rnp-import-signatures.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PECL rnp >= 0.1.1)
rnp_import_signatures — Import standalone signatures to the keyring and receive JSON describing updated keys
ffiThe FFI object returned by rnp_ffi_create().
inputOpenPGP packets containing signatures to be imported. Can be either binary or ASCII armored.
flagsCurrently must be 0.
JSON string with information about updated keys on success 或者在失败时返回 false.