A self-signed certificate helper for testing and development purposes.
While it helps for testing and development, it should never ever be used in production settings.
| package |
Default |
|---|
__construct()
certificatePath() : string
stringthe absolute path to the certificate.
create( $arg0 = null) : \io\vertx\jphp\core\net\SelfSignedCertificate
create()
Create a new SelfSignedCertificate instance with a fully-qualified domain name,
param $fqdn [string] a fully qualified domain name. create($fqdn)
string
\io\vertx\jphp\core\net\SelfSignedCertificatea new instance.
delete() : void
keyCertOptions() : \io\vertx\jphp\core\net\PemKeyCertOptions
\io\vertx\jphp\core\net\PemKeyCertOptionsa {@link PemKeyCertOptions} based on the generated certificate.
privateKeyPath() : string
stringthe absolute path to the private key.
trustOptions() : \io\vertx\jphp\core\net\PemTrustOptions
\io\vertx\jphp\core\net\PemTrustOptionsa {@link PemTrustOptions} based on the generated certificate.