129 |
fails immediately, but if the function had been called interactively, it |
fails immediately, but if the function had been called interactively, it |
130 |
would ask you to retrieve the signer's public key from the server. |
would ask you to retrieve the signer's public key from the server. |
131 |
|
|
132 |
@deffn Command pgg-encrypt-region start end recipients &optional sign |
@deffn Command pgg-encrypt-region start end recipients &optional sign passphrase |
133 |
Encrypt the current region between @var{start} and @var{end} for |
Encrypt the current region between @var{start} and @var{end} for |
134 |
@var{recipients}. When the function were called interactively, you |
@var{recipients}. When the function were called interactively, you |
135 |
would be asked about the recipients. |
would be asked about the recipients. |
138 |
the accessible portion) with the resulting data. |
the accessible portion) with the resulting data. |
139 |
|
|
140 |
If optional argument @var{sign} is non-@code{nil}, the function is |
If optional argument @var{sign} is non-@code{nil}, the function is |
141 |
request to do a combined sign and encrypt. This currently only work |
request to do a combined sign and encrypt. This currently is |
142 |
with GnuPG. |
confirmed to work with GnuPG, but might not work with PGP or PGP5. |
143 |
|
|
144 |
|
If optional @var{passphrase} is @code{nil}, the passphrase will be |
145 |
|
obtained from the passphrase cache or user. |
146 |
@end deffn |
@end deffn |
147 |
|
|
148 |
@deffn Command pgg-encrypt-symmetric-region start end |
@deffn Command pgg-encrypt-symmetric-region &optional start end passphrase |
149 |
Encrypt the current region between @var{start} and @var{end} using a |
Encrypt the current region between @var{start} and @var{end} using a |
150 |
symmetric cipher. After invocation you are asked for a passphrase. |
symmetric cipher. After invocation you are asked for a passphrase. |
151 |
|
|
152 |
This is currently only implemented for GnuPG. |
If optional @var{passphrase} is @code{nil}, the passphrase will be |
153 |
|
obtained from the passphrase cache or user. |
154 |
|
|
155 |
|
symmetric-cipher encryption is currently only implemented for GnuPG. |
156 |
@end deffn |
@end deffn |
157 |
|
|
158 |
@deffn Command pgg-decrypt-region start end |
@deffn Command pgg-decrypt-region start end &optional passphrase |
159 |
Decrypt the current region between @var{start} and @var{end}. If |
Decrypt the current region between @var{start} and @var{end}. If |
160 |
decryption is successful, it replaces the current region contents (in |
decryption is successful, it replaces the current region contents (in |
161 |
the accessible portion) with the resulting data. |
the accessible portion) with the resulting data. |
162 |
|
|
163 |
|
If optional @var{passphrase} is @code{nil}, the passphrase will be |
164 |
|
obtained from the passphrase cache or user. |
165 |
@end deffn |
@end deffn |
166 |
|
|
167 |
@deffn Command pgg-sign-region start end &optional cleartext |
@deffn Command pgg-sign-region start end &optional cleartext passphrase |
168 |
Make the signature from text between @var{start} and @var{end}. If the |
Make the signature from text between @var{start} and @var{end}. If the |
169 |
optional third argument @var{cleartext} is non-@code{nil}, or the |
optional third argument @var{cleartext} is non-@code{nil}, or the |
170 |
function is called interactively, it does not create a detached |
function is called interactively, it does not create a detached |
171 |
signature. In such a case, it replaces the current region contents (in |
signature. In such a case, it replaces the current region contents (in |
172 |
the accessible portion) with the resulting data. |
the accessible portion) with the resulting data. |
173 |
|
|
174 |
|
If optional @var{passphrase} is @code{nil}, the passphrase will be |
175 |
|
obtained from the passphrase cache or user. |
176 |
@end deffn |
@end deffn |
177 |
|
|
178 |
@deffn Command pgg-verify-region start end &optional signature fetch |
@deffn Command pgg-verify-region start end &optional signature fetch |
321 |
keyrings. |
keyrings. |
322 |
@end deffn |
@end deffn |
323 |
|
|
324 |
@deffn Method pgg-scheme-encrypt-region scheme start end recipients &optional sign |
@deffn Method pgg-scheme-encrypt-region scheme start end recipients &optional sign passphrase |
325 |
Encrypt the current region between @var{start} and @var{end} for |
Encrypt the current region between @var{start} and @var{end} for |
326 |
@var{recipients}. If @var{sign} is non-@code{nil}, do a combined sign |
@var{recipients}. If @var{sign} is non-@code{nil}, do a combined sign |
327 |
and encrypt. If encryption is successful, it returns @code{t}, |
and encrypt. If encryption is successful, it returns @code{t}, |
328 |
otherwise @code{nil}. |
otherwise @code{nil}. |
329 |
@end deffn |
@end deffn |
330 |
|
|
331 |
@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end |
@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end &optional passphrase |
332 |
Encrypt the current region between @var{start} and @var{end} using a |
Encrypt the current region between @var{start} and @var{end} using a |
333 |
symmetric cipher and a passphrases. If encryption is successful, it |
symmetric cipher and a passphrases. If encryption is successful, it |
334 |
returns @code{t}, otherwise @code{nil}. This function is currently only |
returns @code{t}, otherwise @code{nil}. This function is currently only |
335 |
implemented for GnuPG. |
implemented for GnuPG. |
336 |
@end deffn |
@end deffn |
337 |
|
|
338 |
@deffn Method pgg-scheme-decrypt-region scheme start end |
@deffn Method pgg-scheme-decrypt-region scheme start end &optional passphrase |
339 |
Decrypt the current region between @var{start} and @var{end}. If |
Decrypt the current region between @var{start} and @var{end}. If |
340 |
decryption is successful, it returns @code{t}, otherwise @code{nil}. |
decryption is successful, it returns @code{t}, otherwise @code{nil}. |
341 |
@end deffn |
@end deffn |
342 |
|
|
343 |
@deffn Method pgg-scheme-sign-region scheme start end &optional cleartext |
@deffn Method pgg-scheme-sign-region scheme start end &optional cleartext passphrase |
344 |
Make the signature from text between @var{start} and @var{end}. If the |
Make the signature from text between @var{start} and @var{end}. If the |
345 |
optional third argument @var{cleartext} is non-@code{nil}, it does not |
optional third argument @var{cleartext} is non-@code{nil}, it does not |
346 |
create a detached signature. If signing is successful, it returns |
create a detached signature. If signing is successful, it returns |