VOMS::Lite::KEY - Perl extension for parsing DER encoded KEY for the VOMS::Lite module.
use VOMS::Lite::KEY; # Call the Examine function with two arguments # a string containing a DER encoded key, # and a hash of required information (see DESCRIPTION) my %KeyInfo = %{ VOMS::Lite::KEY::Examine($keyder, {Keymodulus=>"",KeyprivateExponent=>""} ) }; print Hex($KeyInfo{'Keymodulus'})."\n".Hex($KeyInfo{'KeyprivateExponent'})."\n";
If defined in the hash of the first element in the call to Examine the following variables will be parsed from the key and returned in the return hash. All values are integers and will be returned in signed hex. 'Keyversion' 'Keymodulus' 'KeypublicExponent' 'KeyprivateExponent' 'Keyprime1' 'Keyprime2' 'Keyexponent1' 'Keyexponent2' 'Keycoefficient'
None.
RFC2313
This module was originally designed for the SHEBANGS project at The University of Manchester.
http://www.mc.manchester.ac.uk/projects/shebangs/ now http://www.rcs.manchester.ac.uk/research/shebangs/
Mailing list, shebangs@listserv.manchester.ac.uk
Mailing list, voms-lite@listserv.manchester.ac.uk
Mike Jones <mike.jones@manchester.ac.uk>
Copyright (C) 2006 by Mike Jones
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.
To install VOMS::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VOMS::Lite
CPAN shell
perl -MCPAN -e shell install VOMS::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.