NAME

Net::DNS::SEC::DSA - DNSSEC DSA digital signature algorithm

SYNOPSIS

require Net::DNS::SEC::DSA;

$signature = Net::DNS::SEC::DSA->generate( $sigdata, $private );

$validated = Net::DNS::SEC::DSA->verify( $sigdata, $keyrr, $sigbin );

DESCRIPTION

Implementation of DSA digital signature generation and verification procedures.

generate

$signature = Net::DNS::SEC::DSA->generate( $sigdata, $private );

Generates the wire-format binary signature from the binary sigdata and the appropriate private key object.

verify

$validated = Net::DNS::SEC::DSA->verify( $sigdata, $keyrr, $sigbin );

Verifies the signature over the binary sigdata using the specified public key resource record.

ACKNOWLEDGMENT

The Crypt::OpenSSL::DSA package was created by T.J. Mather.

COPYRIGHT

Copyright (c)2014 Dick Franks.

All rights reserved.

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Net::DNS, Net::DNS::SEC, Crypt::OpenSSL::DSA, Digest::SHA, RFC2536