update lock clucknut
All checks were successful
All checks were successful
This commit is contained in:
@@ -5,12 +5,9 @@
|
||||
use Safe\Exceptions\GnupgException;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param string $fingerprint The fingerprint key.
|
||||
* @param string $passphrase The pass phrase.
|
||||
* @param resource $identifier
|
||||
* @param string $fingerprint
|
||||
* @param string $passphrase
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -25,11 +22,8 @@ function gnupg_adddecryptkey($identifier, string $fingerprint, string $passphras
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param string $fingerprint The fingerprint key.
|
||||
* @param resource $identifier
|
||||
* @param string $fingerprint
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -44,12 +38,9 @@ function gnupg_addencryptkey($identifier, string $fingerprint): void
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param string $fingerprint The fingerprint key.
|
||||
* @param string $passphrase The pass phrase.
|
||||
* @param resource $identifier
|
||||
* @param string $fingerprint
|
||||
* @param string $passphrase
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -68,10 +59,7 @@ function gnupg_addsignkey($identifier, string $fingerprint, ?string $passphrase
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param resource $identifier
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -86,10 +74,7 @@ function gnupg_cleardecryptkeys($identifier): void
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param resource $identifier
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -104,10 +89,7 @@ function gnupg_clearencryptkeys($identifier): void
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param resource $identifier
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -122,12 +104,9 @@ function gnupg_clearsignkeys($identifier): void
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param string $key The key to delete.
|
||||
* @param bool $allow_secret It specifies whether to delete secret keys as well.
|
||||
* @param resource $identifier
|
||||
* @param string $key
|
||||
* @param bool $allow_secret
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -142,13 +121,8 @@ function gnupg_deletekey($identifier, string $key, bool $allow_secret): void
|
||||
|
||||
|
||||
/**
|
||||
* Toggle the armored output.
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param int $armor Pass a non-zero integer-value to this function to enable armored-output
|
||||
* (default).
|
||||
* Pass 0 to disable armored output.
|
||||
* @param resource $identifier
|
||||
* @param int $armor
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
@@ -163,18 +137,8 @@ function gnupg_setarmor($identifier, int $armor): void
|
||||
|
||||
|
||||
/**
|
||||
* Sets the mode for signing.
|
||||
*
|
||||
* @param resource $identifier The gnupg identifier, from a call to
|
||||
* gnupg_init or gnupg.
|
||||
* @param int $signmode The mode for signing.
|
||||
*
|
||||
* signmode takes a constant indicating what type of
|
||||
* signature should be produced. The possible values are
|
||||
* GNUPG_SIG_MODE_NORMAL,
|
||||
* GNUPG_SIG_MODE_DETACH and
|
||||
* GNUPG_SIG_MODE_CLEAR.
|
||||
* By default GNUPG_SIG_MODE_CLEAR is used.
|
||||
* @param resource $identifier
|
||||
* @param int $signmode
|
||||
* @throws GnupgException
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user