NAME

Crypt::DSA::Key - DSA key

SYNOPSIS

use Crypt::DSA::Key;
my $key = Crypt::DSA::Key->new;

$key->p($p);

DESCRIPTION

Crypt::DSA::Key contains a DSA key, both the public and private portions.

Any of the key attributes can be accessed through combination get/set methods. The key attributes are: p, q, g, priv_key, and pub_key. For example:

$key->p($p);
my $p2 = $key->p;

AUTHOR & COPYRIGHTS

Please see the Crypt::DSA manpage for author, copyright, and license information.