aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2005-10-29 11:39:49 +0000
committerEli Zaretskii2005-10-29 11:39:49 +0000
commitdf5725c5fbcc9b306ebba5bf51870eba4ae2cb0e (patch)
tree0582eadf0f002b655fd0c80717f5a85bd9bc557d
parentdf570e6fe2085b094a93e7c89b5c1dd95b0c9b97 (diff)
downloademacs-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.texi16
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
140with GnuPG. 142with GnuPG.
141@end deffn 143@end deffn
142 144
145@deffn Command pgg-encrypt-symmetric-region start end
146Encrypt the current region between @var{start} and @var{end} using a
147symmetric cipher. After invocation you are asked for a passphrase.
148
149This 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
144Decrypt the current region between @var{start} and @var{end}. If 153Decrypt the current region between @var{start} and @var{end}. If
145decryption is successful, it replaces the current region contents (in 154decryption is successful, it replaces the current region contents (in
@@ -307,6 +316,13 @@ and encrypt. If encryption is successful, it returns @code{t},
307otherwise @code{nil}. 316otherwise @code{nil}.
308@end deffn 317@end deffn
309 318
319@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end
320Encrypt the current region between @var{start} and @var{end} using a
321symmetric cipher and a passphrases. If encryption is successful, it
322returns @code{t}, otherwise @code{nil}. This function is currently only
323implemented 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
311Decrypt the current region between @var{start} and @var{end}. If 327Decrypt the current region between @var{start} and @var{end}. If
312decryption is successful, it returns @code{t}, otherwise @code{nil}. 328decryption is successful, it returns @code{t}, otherwise @code{nil}.