Companion

object Companion

Functions

Link copied to clipboard
fun decode(certificateAndPrivateKeyPem: String): HeldCertificate

Decodes a multiline string that contains both a certificate and a private key, both PEM-encoded. A typical input string looks like this: