Anchors

class Anchors(certificates: List<X509Certificate>) : TlsTrust(source)

Only certificates as trust anchors, instead of the platform store: a private CA, or a device's self-signed certificate trusted as itself.

Throws

when certificates is empty, which would trust nothing.

Constructors

Link copied to clipboard
constructor(certificates: List<X509Certificate>)

Properties

Link copied to clipboard

The trust anchors, in the order given.

Functions

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