Kelunik\Acme\OpenSSLKeyGenerator classOpenSSLKeyGenerator implementsKelunik\Acme\KeyGenerator

RSA key generator using OpenSSL.

Summary

Properties

Methods

Methods

generate —public functiongenerate(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