| WebMoney-WMSigner documentation | Contained in the WebMoney-WMSigner distribution. |
WebMoney::WMSigner - WebMoney signer module
use WebMoney::WMSigner; my $signed_str = WebMoney::WMSigner::sign( $wmid, $passwd, $path_to_keyfile, $str_to_sign );
This is signer module that signs any data using specified WebMoney key file. Key file is protected by password. See more details at http://www.webmoney.ru.
In the original WMSigner distribution (http://download.webmoney.ru/WMSigner.zip) signer is implemented as an external command-line utility - this is not very convenient interface. This module implements native Perl interface without using any external command-line utilities. WMSigner code is compiled as XS module - this makes many advantages.
None by default.
Walery Studennikov, <despair@cpan.org> Based on code of WMSigner utility by WebMoney <unix_support@webmoney.ru>
http://www.webmoney.ru
| WebMoney-WMSigner documentation | Contained in the WebMoney-WMSigner distribution. |
package WebMoney::WMSigner; use strict; require Exporter; require DynaLoader; use vars qw( @ISA %EXPORT_TAGS @EXPORT_OK @EXPORT $VERSION ); @ISA = qw(Exporter DynaLoader); # Items to export into callers namespace by default. Note: do not export # names by default without a very good reason. Use EXPORT_OK instead. # Do not simply export all your public functions/methods/constants. # This allows declaration use WMSigner ':all'; # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK # will save memory. %EXPORT_TAGS = ( 'all' => [ qw( ) ] ); @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } ); @EXPORT = qw( ); $VERSION = '0.02'; bootstrap WebMoney::WMSigner $VERSION; # Preloaded methods go here. 1; __END__