Crypt::OpenPGP::PacketFactoryA Perl module to parse and save PGP packet streams. | |
Download |
Crypt::OpenPGP::PacketFactory Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Benjamin Trott
- Publisher web site:
- http://search.cpan.org/~btrott/
Crypt::OpenPGP::PacketFactory Tags
Crypt::OpenPGP::PacketFactory Description
A Perl module to parse and save PGP packet streams. Crypt::OpenPGP::PacketFactory is a Perl module that can be used to parse and save PGP packet streams.SYNOPSIS use Crypt::OpenPGP::PacketFactory; while (my $packet = Crypt::OpenPGP::PacketFactory->parse($buf)) { ## Do something with $packet } my $serialized = Crypt::OpenPGP::PacketFactory->save(@packets);Crypt::OpenPGP::PacketFactory parses PGP buffers (objects of type Crypt::OpenPGP::Buffer) and generates packet objects of various packet classes (for example, Crypt::OpenPGP::Certificate objects, Crypt::OpenPGP::Signature objects, etc.). It also takes lists of packets, serializes each of them, and adds type/length headers to them, forming a stream of packets suitable for armouring, writing to disk, sending through email, etc. Requirements: · Perl
Crypt::OpenPGP::PacketFactory Related Software