略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: rnp_key_remove

2025-02-27

rnp_key_remove

(PECL rnp >= 0.1.1)

rnp_key_removeRemove a key from keyring(s)

说明

rnp_key_remove(RnpFFI $ffi, string $key_fp, int $flags): bool

Note: you need to call rnp_save_keys() to write updated keyring(s) out.

参数

ffi

The FFI object returned by rnp_ffi_create.

key_fp

Key fingerprint.

flags

See RNP_KEY_REMOVE_* constants. Flag RNP_KEY_REMOVE_SUBKEYS will work only for the primary key and will remove all of its subkeys as well.

返回值

Returns true on success 或者在失败时返回 false.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/function.rnp-key-remove.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3