vertx / io.vertx.kotlin.core.net / pemTrustOptionsOf

# pemTrustOptionsOf

`fun pemTrustOptionsOf(certPaths: Iterable<String>? = null, certValues: Iterable<Buffer>? = null): PemTrustOptions`

A function providing a DSL for building io.vertx.core.net.PemTrustOptions objects.

Certificate Authority options configuring certificates based on Privacy-enhanced Electronic Email (PEM) files. The options is configured with a list of validating certificates.

The certificates can either be loaded by Vert.x from the filesystem:

Or directly provided as a buffer:

### Parameters

`certPaths` - Add a certificate path

`certValues` - Add a certificate value