Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Crypt::OpenPGP::UserID 1.03

    Download button

    No screenshots available
    Downloads: 349  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Benjamin Trott | More programs
    Choose... / FREE
    September 5th, 2008, 18:35 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Crypt::OpenPGP::UserID description

    PGP user ID packet.

    Crypt::OpenPGP::UserID is a Perl module with a PGP User ID packet.

    SYNOPSIS

     use Crypt::OpenPGP::UserID;

     my $uid = Crypt::OpenPGP::UserID->new( Identity => 'Foo' );
     my $serialized = $uid->save;

     my $uid = Crypt::OpenPGP::UserID->parse($buffer);
     my $identity = $uid->id;


    Crypt::OpenPGP::UserID is a PGP User ID packet. Such a packet is used to represent the name and email address of the key holder, and typically contains an RFC822 mail name like

     Foo Bar

    USAGE

    Crypt::OpenPGP::UserID->new( [ Identity => $identity ] )

    Creates a new User ID packet object and returns that object. If you do not supply an identity, the object is created empty; this is used, for example, in parse (below), to create an empty packet which is then filled from the data in the buffer.

    If you wish to initialize a non-empty object, supply new with the Identity parameter along with a value $identity which should generally be in RFC822 form (above).
    $uid->save

    Returns the text of the user ID packet; this is the string passed to new (above) as $identity, for example.
    Crypt::OpenPGP::UserID->parse($buffer)

    Given $buffer, a Crypt::OpenPGP::Buffer object holding (or with offset pointing to) a User ID packet, returns a new object, initialized with the user ID data in the buffer.
    $uid->id

    Returns the user ID data (eg. the string passed as $identity to new, above).


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    PGP User ID | Perl module | PGP | UserID | Perl

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM