Crypt::OpenSSL::DSA::Signature man page on OpenServer

Man page or keyword search:  
man Server   5388 pages
apropos Keyword Search (all sections)
Output format
OpenServer logo
[printable version]

Crypt::OpenSSL::DSA::SUsertContributed Perl DCrypt::OpenSSL::DSA::Signature(3)

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.8.8			  2005-10-15 Crypt::OpenSSL::DSA::Signature(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OpenServer

List of man pages available for OpenServer

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net