vertx / io.vertx.core.net / SelfSignedCertificate

# SelfSignedCertificate

`interface SelfSignedCertificate`

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.

Author
Julien Ponge

### Functions

certificatePath | `abstract fun certificatePath(): String` Filesystem path to the X.509 certificate file in PEM format .
create | `open static fun create(): SelfSignedCertificate` Create a new `SelfSignedCertificate` instance. `open static fun create(fqdn: String): SelfSignedCertificate` Create a new `SelfSignedCertificate` instance with a fully-qualified domain name,
delete | `abstract fun delete(): Unit` Delete the private key and certificate files.
keyCertOptions | `abstract fun keyCertOptions(): PemKeyCertOptions` Provides the KeyCertOptions RSA private key file in PEM format corresponding to the `#privateKeyPath()`
privateKeyPath | `abstract fun privateKeyPath(): String` Filesystem path to the RSA private key file in PEM format
trustOptions | `abstract fun trustOptions(): PemTrustOptions` Provides the TrustOptions X.509 certificate file in PEM format corresponding to the `#certificatePath()`