Net::DNS::SEC::RSA - DNSSEC RSA digital signature algorithm
require Net::DNS::SEC::RSA; $signature = Net::DNS::SEC::RSA->sign( $sigdata, $private ); $validated = Net::DNS::SEC::RSA->verify( $sigdata, $keyrr, $sigbin );
Implementation of RSA digital signature generation and verification procedures.
$signature = Net::DNS::SEC::RSA->sign( $sigdata, $private );
Generates the wire-format binary signature from the binary sigdata and the appropriate private key object.
$validated = Net::DNS::SEC::RSA->verify( $sigdata, $keyrr, $sigbin );
Verifies the signature over the binary sigdata using the specified public key resource record.
Andy Vaskys (Network Associates Laboratories) supplied the code for handling RSA with SHA1 (Algorithm 5).
The Crypt::OpenSSL::RSA package was created by Ian Robertson.
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.
Net::DNS, Net::DNS::SEC, Crypt::OpenSSL::RSA, RFC2437, RFC3110
To install Net::DNS::SEC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::DNS::SEC
CPAN shell
perl -MCPAN -e shell install Net::DNS::SEC
For more information on module installation, please visit the detailed CPAN module installation guide.