AnyEvent-GnuPG
view release on metacpan or search on metacpan
- GnuPG/Tie/Decrypt.pm: Added encryption on a tied filehandle.
- GnuPG/Tie/Encrypt.pm: Added decryption on a tied filehandle.
- GnuPG/Tie.pm: Added abstract implementation for tied filehandle
operations on GnuPG.
0.02 1999-09-08 Francis J. Lacoste <francis.lacoste@iNsu.COM>
- TAG: GNUPG_0_02
- GnuPG.pm: Removed colons from tag names.
- GnuPG.pm(run_gnupg): Handled input and output from file handle
correctly.
- GnuPG.pm(abort_gnupg): Aborting now correctly throws the error message.
- gpgmailtunl: Added as sample program.
0.01 1999-09-05 Francis J. Lacoste <francis.lacoste@iNsu.COM>
- GnuPG.pm: Release 0.01.
lib/AnyEvent/GnuPG.pm view on Meta::CPAN
output => "file.txt",
passphrase => $secret
);
=head2 decrypt_cb(%params[, cb => $callback|$condvar])
Asynchronous variant of L</decrypt>.
=head1 API OVERVIEW
The API is accessed through methods on a AnyEvent::GnuPG object which is a wrapper around the B<gpg> program. All methods takes their argument using named parameters, and errors are returned by throwing an exception (using croak). If you wan't to cat...
This modules uses L<AnyEvent::Proc>. For input data, all of L<AnyEvent::Proc/pull> and for output data, all of L<AnyEvent::Proc/pipe> possible handle types are allowed.
The code is based on L<GnuPG> with API compatibility except that L<GnuPG::Tie> is B<not> ported.
=head2 CALLBACKS AND CONDITION VARIABLES
Every method has a callback variant, suffixed with I<_cb>. These methods accept an optional parameter called I<cb>, which can be a CodeRef or an L<AnyEvent>::CondVar and returns a condvar.
$gpg->method_cb(%params, cb => sub {
( run in 0.389 second using v1.01-cache-2.11-cpan-496ff517765 )