Kelunik\Acme\CSR\OpenSSLCSRGenerator classOpenSSLCSRGenerator implementsKelunik\Acme\CSR\CSRGenerator

Allows generating certificate signing requests using OpenSSL.

Summary

Properties

Methods

Properties

Methods

__construct —public function__construct(array$options =[])

OpenSSLCSRGenerator constructor.

Type Parameter Description Default Value
array $options CSR options, currently only "must_staple" = true | false is supported []
generate —public functiongenerate(Kelunik\Acme\CSR\KeyPair$keyPair,array$domains):Kelunik\Acme\CSR\Promise

Generates a CSR for the given DNS names.

Type Parameter Description Default Value
Kelunik\Acme\CSR\KeyPair $keyPair domain key pair none
array $domains list of domain names none