Pem

data class Pem(val certificates: String) : TrustAnchors

Trust exactly the certificates in a PEM bundle, and nothing else — the company CA, or the self-signed certificate a staging node serves.

Constructors

Link copied to clipboard
constructor(certificates: String)

Properties

Link copied to clipboard

one or more -----BEGIN CERTIFICATE----- blocks, concatenated.

Functions

Link copied to clipboard
open override fun toString(): String

Redacted: a trust bundle is not secret, and a log line with a certificate in it is still noise.