Lemonldap::NG::Common::Util::Crypto(3pm)

Lemonldap::NG::Common::Util::Crypto3pm

Crypto utilities for lemonldap::ng

Overview

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

public: public key in PEM format
private: private key in PEM format, optionnaly encrypted with supplied password
hash: unique identifier for the key

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>

Authors

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

From liblemonldap-ng-common-perl 2.21.2+ds-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.