Kelunik\Acme\OpenSSLKeyGenerator class OpenSSLKeyGenerator implements Kelunik\Acme\KeyGenerator

RSA key generator using OpenSSL.

Summary

Properties

Methods

Methods

generate — public function generate(int $bits = 2048): Kelunik\Acme\KeyPair

Generates a new key pair with the given length in bits.

Type Parameter Description Default Value
int $bits length of the key 2048