1VOMS::Lite::KEY(3)    User Contributed Perl Documentation   VOMS::Lite::KEY(3)
2
3
4

NAME

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

SYNOPSIS

10         use VOMS::Lite::KEY;
11
12         # Call the Examine function with two arguments
13         #        a string containing a DER encoded key,
14         #        and a hash of required information (see DESCRIPTION)
15         my %KeyInfo = %{ VOMS::Lite::KEY::Examine($keyder, {Keymodulus=>"",KeyprivateExponent=>""} ) };
16         print Hex($KeyInfo{'Keymodulus'})."\n".Hex($KeyInfo{'KeyprivateExponent'})."\n";
17

DESCRIPTION

19       If defined in the hash of the first element in the call to Examine the
20       following variables will be parsed from the key and returned in the
21       return hash.  All values are integers and will be returned in signed
22       hex.
23         'Keyversion'
24         'Keymodulus'
25         'KeypublicExponent'
26         'KeyprivateExponent'
27         'Keyprime1'
28         'Keyprime2'
29         'Keyexponent1'
30         'Keyexponent2'
31         'Keycoefficient'
32
33   EXPORT
34       None.
35

SEE ALSO

37       RFC2313
38
39       This module was originally designed for the SHEBANGS project at The
40       University of Manchester.
41
42       http://www.mc.manchester.ac.uk/projects/shebangs/ now
43       http://www.rcs.manchester.ac.uk/research/shebangs/
44
45       Mailing list, shebangs@listserv.manchester.ac.uk
46
47       Mailing list, voms-lite@listserv.manchester.ac.uk
48

AUTHOR

50       Mike Jones <mike.jones@manchester.ac.uk>
51
53       Copyright (C) 2006 by Mike Jones
54
55       This library is free software; you can redistribute it and/or modify it
56       under the same terms as Perl itself, either Perl version 5.8.3 or, at
57       your option, any later version of Perl 5 you may have available.
58
59
60
61perl v5.34.0                      2021-07-27                VOMS::Lite::KEY(3)
Impressum