PHP Class Kelunik\Acme\CSR\OpenSSLCSRGenerator

Inheritance: implements Kelunik\Acme\CSR\CSRGenerator
ファイルを表示 Open project: kelunik/acme

Public Methods

Method Description
__construct ( array $options = [] ) OpenSSLCSRGenerator constructor.
generate ( KeyPair $keyPair, array $domains )
generate ( KeyPair $keyPair, array $domains ) : Amp\Promise

Method Details

__construct() public method

OpenSSLCSRGenerator constructor.
public __construct ( array $options = [] )
$options array CSR options, currently only "must_staple" = true | false is supported

generate() public method

public generate ( KeyPair $keyPair, array $domains )
$keyPair Kelunik\Acme\KeyPair
$domains array

generate() public method

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)