GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Ezmlm::GpgKeyRing(3) User Contributed Perl Documentation Ezmlm::GpgKeyRing(3)

Mail::Ezmlm::GpgKeyRing - Object Methods for gnupg keyring management

 use Mail::Ezmlm::GpgKeyRing;
 $keyring = new Mail::Ezmlm::GpgKeyRing(DIRNAME);

The rest is a bit complicated for a Synopsis, see the description.

Mail::Ezmlm::GpgKeyRing is a Perl module that is designed to provide an object interface to GnuPG keyrings for encrypted mailing lists.

   use Mail::Ezmlm::GpgKeyRing;
   $keyring = new Mail::Ezmlm::GpgKeyRing('/home/user/lists/foolist/.gnupg');

new() returns the new instance for success, undefined if there was a problem.

   $whichkeyring = $keyring->get_location();
   print $keyring->get_location();

   $keyring->set_location('/home/user/lists/foolist/.gnupg');

You may export public keys of the keyring.

The key can be identified by its id or other (unique) patterns (like the gnupg program).

        $keyring->export_key($key_id);
        $keyring->export_key($email_address);

The return value is a string containing the ascii armored key data.

You can import public or secret keys into the keyring.

The key should be ascii armored.

        $keyring->import_key($ascii_armored_key_data);

Remove a public key (and the matching secret key if it exists) from the keyring.

The argument is the id of the key or any other unique pattern.

        $keyring->delete_key($keyid);

        $keyring->generate_key($name, $comment, $email_address, $keysize, $expire);

Refer to the documentation of gnupg for the format of the arguments.

Return an array of key hashes each containing the following elements:
  • name
  • email
  • id
  • expires

        $keyring->get_public_keys();
        $keyring->get_secret_keys();

 Lars Kruse <devel@sumpfralle.de>

 There are no known bugs.

 Please report bugs to the author or use the bug tracking system at
 https://systemausfall.org/trac/ezmlm-web.

 gnupg(7), gpg(1), gpg2(1), Crypt::GPG(3pm)

 https://systemausfall.org/toolforge/ezmlm-web/
 http://www.ezmlm.org/
2008-10-02 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.