object Companion
source · line 37public
public companion
Creates a trust store from explicit certificate anchors.
function fromCertificates
source · line 51public
public fun fromCertificates(anchors: List<Certificate>): TrustStore
Creates a store retaining the supplied anchors independently; the caller keeps ownership of its certificate handles.
parameter anchors
source · line 51public
anchors: List<Certificate>
function fromPem
source · line 41public
public fun fromPem(text: String): TrustStore
Parses PEM anchors into a new trust store and closes temporary certificate handles.
parameter text
source · line 41public
text: String