package WebMoney::WMSigner;

use strict;

require Exporter;
require DynaLoader;


@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.


=head1 NAME

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

In the original WMSigner distribution
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.

=head1 EXPORT

None by default.

=head1 AUTHOR

Walery Studennikov, <>
Based on code of WMSigner utility by WebMoney <>

=head1 SEE ALSO