Kelunik\Acme\KeyGenerator interface KeyGenerator

Key generator interface to generate RSA keys.

Summary

Properties

Methods

Methods

generate — public function generate(int $bits): 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 none