NAME

Lemonldap::NG::Portal::Lib::Key - A role for private key management in Portal plugins

SYNOPSIS

use Mouse;

with 'Lemonldap::NG::Portal::Lib::Key';

DESCRIPTION

This role is meant to be composed into portal modules to give them the ability to lookup private/public keys from the General parameters > Keys interface

All asymetric key retrieval should be performed through the functions provided here

METHODS

get_private_key

This method returns a private key structure containing the following fields

private: PEM private key
password: optional password for key decryption
public: PEM public key or certificate
external_id: optional external key identified (kid)

AUTHORS

LemonLDAP::NG team http://lemonldap-ng.org/team

BUG REPORT

Use OW2 system to report bug or ask for features: https://gitlab.ow2.org/lemonldap-ng/lemonldap-ng/issues

DOWNLOAD

Lemonldap::NG is available at https://lemonldap-ng.org/download

COPYRIGHT AND LICENSE

See COPYING file for details.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.