debian man page for crypt::openssl::dsa::signature

Query: crypt::openssl::dsa::signature

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

Crypt::OpenSSL::DSA::Signature(3pm)			User Contributed Perl Documentation		       Crypt::OpenSSL::DSA::Signature(3pm)

NAME
Crypt::OpenSSL::DSA::Signature - Digital Signature Object
SYNOPSIS
use Crypt::OpenSSL::DSA; my $dsa_priv = Crypt::OpenSSL::DSA->read_priv_key( $filename ); my $sig_obj = $dsa_priv->do_sign($message); my $dsa_pub = Crypt::OpenSSL::DSA->read_pub_key( $filename ); my $valid = $dsa_pub->do_verify($message, $sig_obj); my $r = $sig_obj->get_r; my $s = $sig_obj->get_s; my $sig_obj2 = Crypt::OpenSSL::DSA::Signature->new(); $sig_obj2->set_r($r); $sig_obj2->set_s($s); my $valid = $dsa_pub->do_verify($message, $sig_obj2);
CLASS METHODS
$sig_obj = Crypt::OpenSSL::DSA::Signature->new(); Create a new DSA Signature Object. You will need to call set_r and set_s after you create this.
OBJECT METHODS
$r = $sig_obj->get_r; Gets first member of signature pair. $s = $sig_obj->get_s; Gets second member of signature pair. $r = $sig_obj->set_r; Sets first member of signature pair. $s = $sig_obj->set_s; Sets second member of signature pair.
AUTHOR
T.J. Mather, <tjmather@maxmind.com>
SEE ALSO
Crypt::OpenSSL::DSA perl v5.14.2 2012-04-01 Crypt::OpenSSL::DSA::Signature(3pm)
Related Man Pages
crypt::openssl::random(3) - osx
crypt::dsa(3pm) - debian
crypt::dsa::key(3pm) - debian
crypt::openssl::dsa(3pm) - debian
crypt::openssl::random(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Is UNIX an open source OS ?
Introduction
One instance of comparing grep and awk
Weird 'find' results