addTrustAnchor

abstract suspend fun addTrustAnchor(certPem: String)(source)

Add a PEM-encoded certificate as a trust anchor.

NOTE: currently we only support storing a single trust anchor, calling this method multiple times will overwrite any previously added trust anchor.