table of contents
- bookworm-backports 2.20.1+ds-1~bpo12+1
- testing 2.20.1+ds-1
- unstable 2.20.2+ds-1
Lemonldap::NG::Common::Util::Crypto(3pm) | User Contributed Perl Documentation | Lemonldap::NG::Common::Util::Crypto(3pm) |
NAME¶
Lemonldap::NG::Common::Util::Crypto - Crypto utilities for LemonLDAP::NG
DESCRIPTION¶
This package contains various cryptography-related functions
METHODS¶
genCertKey($key_len, $password, $cn)
This method generates a RSA private key and a self-signed certificate, and returns a hashref of
- public: certificate in PEM format, subject is built from given $cn
- private: private key in PEM format, optionnaly encrypted with supplied password
- hash: unique identifier for the key
genEcKey($curve_name)
This method generates an ECDSA key pair and returns a hashref of
- public: public key in PEM format
- private: private key in PEM format
- hash: unique identifier for the key
genRsaKey($key_len, $password)
This method generates a RSA key pair and returns a hashref of
AUTHORS¶
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/>.
2024-10-16 | perl v5.40.0 |