From: Eli Zaretskii Date: Sat, 29 Oct 2005 11:39:49 +0000 (+0000) Subject: (How to use): Update the example to add autoload of X-Git-Tag: emacs-pretest-22.0.90~6219 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=df5725c5fbcc9b306ebba5bf51870eba4ae2cb0e;p=emacs.git (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. --- 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. @lisp (autoload 'pgg-encrypt-region "pgg" "Encrypt the current region." t) +(autoload 'pgg-encrypt-symmetric-region "pgg" + "Encrypt the current region with symmetric algorithm." t) (autoload 'pgg-decrypt-region "pgg" "Decrypt the current region." t) (autoload 'pgg-sign-region "pgg" @@ -140,6 +142,13 @@ request to do a combined sign and encrypt. This currently only work with GnuPG. @end deffn +@deffn Command pgg-encrypt-symmetric-region start end +Encrypt the current region between @var{start} and @var{end} using a +symmetric cipher. After invocation you are asked for a passphrase. + +This is currently only implemented for GnuPG. +@end deffn + @deffn Command pgg-decrypt-region start end Decrypt the current region between @var{start} and @var{end}. If decryption is successful, it replaces the current region contents (in @@ -307,6 +316,13 @@ and encrypt. If encryption is successful, it returns @code{t}, otherwise @code{nil}. @end deffn +@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end +Encrypt the current region between @var{start} and @var{end} using a +symmetric cipher and a passphrases. If encryption is successful, it +returns @code{t}, otherwise @code{nil}. This function is currently only +implemented for GnuPG. +@end deffn + @deffn Method pgg-scheme-decrypt-region scheme start end Decrypt the current region between @var{start} and @var{end}. If decryption is successful, it returns @code{t}, otherwise @code{nil}.