Crypt::DSA::GMP::Key::PEM(3)

NAME
Crypt::DSA::GMP::Key::PEM - Read/write DSA PEM files

SYNOPSIS
    use Crypt::DSA::GMP::Key;
    my $key = Crypt::DSA::GMP::Key->new( Type => 'PEM', ...);
    $key->write( Type => 'PEM', ...);

DESCRIPTION
Crypt::DSA::GMP::Key::PEM provides an interface for reading and writing DSA PEM files, using Convert::PEM. The files are ASN.1-encoded and optionally encrypted.

You shouldn't use this module directly. As the SYNOPSIS above suggests, this module should be considered a plugin for Crypt::DSA::GMP::Key, and all access to PEM files (reading DSA keys from disk, etc.) should be done through that module.

Read the Crypt::DSA::GMP::Key documentation for more details.

SUBCLASS METHODS

  serialize
Returns the appropriate serialization blob of the key.

  deserialize
Given an argument hash containing Content and Password, this unpacks the serialized key into the self object.

AUTHOR & COPYRIGHTS
See Crypt::DSA::GMP for author, copyright, and license information.