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
string
the 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\SelfSignedCertificate
a new instance.
delete() : void
keyCertOptions() : \io\vertx\jphp\core\net\PemKeyCertOptions
\io\vertx\jphp\core\net\PemKeyCertOptions
a {@link PemKeyCertOptions} based on the generated certificate.
privateKeyPath() : string
string
the absolute path to the private key.
trustOptions() : \io\vertx\jphp\core\net\PemTrustOptions
\io\vertx\jphp\core\net\PemTrustOptions
a {@link PemTrustOptions} based on the generated certificate.