HostPolicy

data class HostPolicy(val pins: Set<SslPinningConfiguration.Pin>, val includesSubdomains: Boolean = false)

A pinning policy for a single host.

Throws

if pins is empty — an empty set would silently leave the host unpinned. Always ship at least the current key plus a backup key.

Constructors

Link copied to clipboard
constructor(pins: Set<SslPinningConfiguration.Pin>, includesSubdomains: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard