|
|||||||||
|
|||||||||
gnupg_sign(PECL gnupg:0.1-1.3.1) gnupg_sign — Signs a given text Описание
string gnupg_sign
( resource $identifier
, string $plaintext
)
Signs the given plaintext with the keys, which were set with gnupg_addsignkey before and returns the signed text or the signature, depending on what was set with gnupg_setsignmode. Возвращаемые значенияOn success, this function returns the signed text or the signature. On failure, this function returns FALSE. Примеры
Пример #1 Procedural gnupg_sign() example
<?phpПример #2 OO gnupg_sign() example
<?php | |||||||||
|
|||||||||