NAME

VOMS::Lite::AC - Perl extension for VOMS Attribute certificate creation

SYNOPSIS

use VOMS::Lite::AC;
%AC = %{ VOMS::Lite::AC::Create(%inputref) };

DESCRIPTION

VOMS::Lite::AC is primarily for internal use.

VOMS::Lite::AC::Create takes one argument, a hash containing all the relevant information required to make the Attribute Certificate. In the Hash the following scalars should be defined: 'Cert' the DER encoding of the holder certificate. 'VOMSCert' the DER encoding of the VOMS issuing certificate. 'VOMSKey' the DER encoding of the VOMS issuing key. 'Lifetime' the integer lifetime of the credential to be issued in seconds 'Server' the FQDN of the VOMS server 'Port' the port of the VOMS server (between 0 and 65536) 'Serial' the valus foe the serial number of the credential 'Code' optional, the VOMS code (if undefined will use the port and issue a warning) 'Broken' optional, define this to make AC issue broken backward compatable gLite 1 VOMS ACs. In vector context 'Attribs' the reference to the array of VOMS attribute triples 'Targets' optional, reference to an array of Target URIs

The return value is a reference to a hash containing the AC as a string in DER format, a reference to an array of any Target URIs emposed, a reference to an array of warnings (an AC will still be issued if warnings are present), a reference to an array of errors (if an error is encountered then no AC will be produced).

EXPORT

None by default;

SEE ALSO

RFC3281 and the VOMS Attribute Specification document from the OGSA Athuz Working Group of the Open Grid Forum http://www.ogf.org. Also see gLite from the EGEE.

This module was originally designed for the SHEBANGS project at The University of Manchester. 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, 2009 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.