CakeFest 2024: The Official CakePHP Conference

gnupg_clearencryptkeys

(PECL gnupg >= 0.5)

gnupg_clearencryptkeys事前に暗号化のために設定されたすべてのキーを削除する

説明

gnupg_clearencryptkeys(resource $identifier): bool

パラメータ

identifier

gnupg_init() あるいは gnupg のコールで得られた gnupg ID。

戻り値

成功した場合に true を、失敗した場合に false を返します。

例1 手続き型の gnupg_clearencryptkeys() の例

<?php
$res
= gnupg_init();
gnupg_clearencryptkeys($res);
?>

例2 オブジェクト指向の gnupg_clearencryptkeys() の例

<?php
$gpg
= new gnupg();
$gpg->clearencryptkeys();
?>

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top