Kelunik\Acme\CSR\CSRGenerator::generate PHP Method

generate() public method

Generates a CSR for the given DNS names.
public generate ( KeyPair $keyPair, array $domains ) : Amp\Promise
$keyPair Kelunik\Acme\KeyPair domain key pair
$domains array list of domain names
return Amp\Promise resolves to a string (PEM encoded CSR)
    public function generate(KeyPair $keyPair, array $domains);
CSRGenerator