Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.633.465 Times

GnuPG::Interface 0.33

  Date Added: March 23, 2010  |  Visits: 574

GnuPG::Interface

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)



GnuPG::Interface is a Perl interface to GnuPG. SYNOPSIS # A simple example use IO::Handle; use GnuPG::Interface; # settting up the situation my $gnupg = GnuPG::Interface->new(); $gnupg->options->hash_init( armor => 1, homedir => /home/foobar ); # Note you can set the recipients even if you arent encrypting! $gnupg->options->push_recipients( ftobin@cpan.org ); $gnupg->options->meta_interactive( 0 ); # how we create some handles to interact with GnuPG my $input = IO::Handle->new(); my $output = IO::Handle->new(); my $handles = GnuPG::Handles->new( stdin => $input, stdout => $output ); # Now well go about encrypting with the options already set my @plaintext = ( foobar ); my $pid = $gnupg->encrypt( handles => $handles ); # Now we write to the input of GnuPG print $input @plaintext; close $input; # now we read the output my @ciphertext = <$output>; close $output; waitpid $pid, 0; GnuPG::Interface and its associated modules are designed to provide an object-oriented method for interacting with GnuPG, being able to perform functions such as but not limited to encrypting, signing, decryption, verification, and key-listing parsing. How Data Member Accessor Methods are Created Each module in the GnuPG::Interface bundle relies on Class::MethodMaker to generate the get/set methods used to set the objects data members. This is very important to realize. This means that any data member which is a list has special methods assigned to it for pushing, popping, and clearing the list. Understanding Bidirectional Communication It is also imperative to realize that this package uses interprocess communication methods similar to those used in IPC::Open3 and "Bidirectional Communication with Another Process" in perlipc, and that users of this package need to understand how to use this method because this package does not abstract these methods for the user greatly. This package is not designed to abstract this away entirely (partly for security purposes), but rather to simply help create proper, clean calls to GnuPG, and to implement key-listing parsing. Please see "Bidirectional Communication with Another Process" in perlipc to learn how to deal with these methods. Using this package to do message processing generally invovlves creating a GnuPG::Interface object, creating a GnuPG::Handles object, setting some options in its options data member, and then calling a method which invokes GnuPG, such as clearsign. One then interacts with with the handles appropriately, as described in "Bidirectional Communication with Another Process" in perlipc..

Requirements: No special requirements
Platforms: Linux
Keyword: Bidirectional Communication Bidirectional Communication Another Process Communication Gnupg Gnupginterface Handles Libraries Methods New Package Perl Programming
Users rating: 0/10

License: Freeware Size: 37.89 KB
USER REVIEWS
More Reviews or Write Review


GNUPG::INTERFACE RELATED
Libraries  -  libt2n 0.3
libt2n project is a C++ library for inter-process communication (IPC) with an additional code generator (libt2n-codegen). Before inventing our own IPC library, we checked a lot of other IPC frameworks like CORBA, D-BUS and ICE. But they werent...
901.12 KB  
Multimedia & Graphics  -  ECOMAC 0.242
The ECOMAC is a Windows application designed to be used for controlling of chromatographic process, communication with chromatographic devices and storing data for next evaluation.
6.1 MB  
Utilities  -  DIPC 3.0-alpha10
DIPC (Distributd Inter-Process Communication) is a software-only solution for distributed data exchange on a network on Linux computers. It operates at the kernel level, and allows the programmer to use System V semaphores, message queues, and...
307.2 KB  
Education  -  WeChat Amazing Features 1.4.0.0
Updated Version :: Minor Fix. WeChat is a mobile text and voice messaging communication service. WeChat provides multimedia communication with text messaging, hold-to-talk voice messaging, broadcast (one-to-many) messaging, photo/video...
1024 KB  
Education  -  WeChat Features 1.4.0.0
Updated Version :: Minor Fix. WeChat is a mobile text and voice messaging communication service. WeChat provides multimedia communication with text messaging, hold-to-talk voice messaging, broadcast (one-to-many) messaging, photo/video...
1024 KB  
Games  -  Doodle Link 4.0.3.0
Draw the shortest path from the paws to the doodles using the right colors. Draw over another color to mix them and create a new color. Try to use the least amount of ink to get 3 stars. "A hidden gem. Absolutely brilliantly innovative...
13 MB  
Graphical Text Tools  -  Digital Image Tool 3.2
Batch process images quickly, applying flexible resizing methods, rotation, cropping, scaling, watermarking, renaming, tagging and more. Batch Image Resize Either scale or apply max width or height settings, images are never scewed or scaled...
5.08 MB  
Programming  -  Mavenizer 1.0
Mavenizer intends to ease the (rather painfull) process of making third party libraries (which are not built with Maven) available as artifacts on a maven repository.
4.54 MB  
Reference  -  Labor Finder 1.0
The data can come handy to immigrants who are looking for employers who will process green cards. Must have app for new immigrants. This public disclosure app contains administrative data from employer's Applications for Permanent...
3.4 MB  
Games  -  Real Soccer 2013 1.1.0.0
The newest edition of the hit soccer simulation is back to score another win for the franchise with a whole new set of moves. Take part in the most immersive soccer simulation and show that you are the best on the pitch. Reinforce your team by...
809 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB