Crypt::DSA::GMP::Signature - DSA signature object
my $sig = Crypt::DSA::GMP::Signature->new;
Crypt::DSA::GMP::Signature represents a DSA signature. It has two methods, "r" and "s", which are the Math::BigInt representations of the two pieces of the DSA signature.
Creates a new signature object, and optionally initializes it with the information in %options, which can contain:
An ASN.1-encoded string representing the DSA signature. In ASN.1 notation, this looks like:
If Content is provided, new will automatically call the "deserialize" method to parse the content, and set the "r" and "s" methods on the resulting Crypt::DSA::GMP::Signature object.
Serializes the signature object $sig into the format described above: an ASN.1-encoded representation of the signature, using the ASN.1 syntax above.
Deserializes the ASN.1-encoded representation into a signature object.
One half of the DSA signature for a message. This is a Math::BigInt object.
See Crypt::DSA::GMP for author, copyright, and license information.
To install Crypt::DSA::GMP, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.