The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VOMS::Lite::KEY - Perl extension for parsing DER encoded KEY for the VOMS::Lite module.

SYNOPSIS

  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";

DESCRIPTION

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'

EXPORT

None.

SEE ALSO

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

AUTHOR

Mike Jones <mike.jones@manchester.ac.uk>

COPYRIGHT AND LICENSE

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.