diff options
| author | Eli Zaretskii | 2005-10-29 11:39:49 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-10-29 11:39:49 +0000 |
| commit | df5725c5fbcc9b306ebba5bf51870eba4ae2cb0e (patch) | |
| tree | 0582eadf0f002b655fd0c80717f5a85bd9bc557d | |
| parent | df570e6fe2085b094a93e7c89b5c1dd95b0c9b97 (diff) | |
| download | emacs-df5725c5fbcc9b306ebba5bf51870eba4ae2cb0e.tar.gz emacs-df5725c5fbcc9b306ebba5bf51870eba4ae2cb0e.zip | |
(How to use): Update the example to add autoload of
pgg-encrypt-symmetric-region.
(User Commands): Document pgg-encrypt-symmetric-region.
(Backend methods): Document pgg-scheme-encrypt-symmetric-region.
| -rw-r--r-- | man/pgg.texi | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/man/pgg.texi b/man/pgg.texi index 7b4b1143d6d..b3829e5fa83 100644 --- a/man/pgg.texi +++ b/man/pgg.texi | |||
| @@ -98,6 +98,8 @@ list autoload setting for desired functions as follows. | |||
| 98 | @lisp | 98 | @lisp |
| 99 | (autoload 'pgg-encrypt-region "pgg" | 99 | (autoload 'pgg-encrypt-region "pgg" |
| 100 | "Encrypt the current region." t) | 100 | "Encrypt the current region." t) |
| 101 | (autoload 'pgg-encrypt-symmetric-region "pgg" | ||
| 102 | "Encrypt the current region with symmetric algorithm." t) | ||
| 101 | (autoload 'pgg-decrypt-region "pgg" | 103 | (autoload 'pgg-decrypt-region "pgg" |
| 102 | "Decrypt the current region." t) | 104 | "Decrypt the current region." t) |
| 103 | (autoload 'pgg-sign-region "pgg" | 105 | (autoload 'pgg-sign-region "pgg" |
| @@ -140,6 +142,13 @@ request to do a combined sign and encrypt. This currently only work | |||
| 140 | with GnuPG. | 142 | with GnuPG. |
| 141 | @end deffn | 143 | @end deffn |
| 142 | 144 | ||
| 145 | @deffn Command pgg-encrypt-symmetric-region start end | ||
| 146 | Encrypt the current region between @var{start} and @var{end} using a | ||
| 147 | symmetric cipher. After invocation you are asked for a passphrase. | ||
| 148 | |||
| 149 | This is currently only implemented for GnuPG. | ||
| 150 | @end deffn | ||
| 151 | |||
| 143 | @deffn Command pgg-decrypt-region start end | 152 | @deffn Command pgg-decrypt-region start end |
| 144 | Decrypt the current region between @var{start} and @var{end}. If | 153 | Decrypt the current region between @var{start} and @var{end}. If |
| 145 | decryption is successful, it replaces the current region contents (in | 154 | decryption is successful, it replaces the current region contents (in |
| @@ -307,6 +316,13 @@ and encrypt. If encryption is successful, it returns @code{t}, | |||
| 307 | otherwise @code{nil}. | 316 | otherwise @code{nil}. |
| 308 | @end deffn | 317 | @end deffn |
| 309 | 318 | ||
| 319 | @deffn Method pgg-scheme-encrypt-symmetric-region scheme start end | ||
| 320 | Encrypt the current region between @var{start} and @var{end} using a | ||
| 321 | symmetric cipher and a passphrases. If encryption is successful, it | ||
| 322 | returns @code{t}, otherwise @code{nil}. This function is currently only | ||
| 323 | implemented for GnuPG. | ||
| 324 | @end deffn | ||
| 325 | |||
| 310 | @deffn Method pgg-scheme-decrypt-region scheme start end | 326 | @deffn Method pgg-scheme-decrypt-region scheme start end |
| 311 | Decrypt the current region between @var{start} and @var{end}. If | 327 | Decrypt the current region between @var{start} and @var{end}. If |
| 312 | decryption is successful, it returns @code{t}, otherwise @code{nil}. | 328 | decryption is successful, it returns @code{t}, otherwise @code{nil}. |