gnupg_init
PECL gnupg >= 0.4
gnupg_init - Initialize a connection
Manual
gnupg_init(
[array|null$options = null] ): resource
Parameters
- options
-
Must be an associative array. It is used to change the default configuration of the crypto engine.
Configuration overrides
key type description file_name string It is the file name of the executable program implementing this protocol which is usually path of the gpg executable. home_dir string It is the directory name of the configuration directory. It also overrides GNUPGHOME environment variable that is used for the same purpose.
Return Values
A GnuPG resource connection used by other GnuPG functions.
Changelog
Version | Description |
1.5.0 | The options parameter was added. |