CLASS

KeyPinning

Contents

public final class KeyPinning: NSObject

The configuration for MTLS that is used to pin the server public key for a defined hostname.

Methods

init(hostname:publicKeyHash:)

@objc public init(hostname: String, publicKeyHash: String)

Initialize a KeyPinning that is used to pin the server public key for a defined hostname.

Parameters

Name Description
hostname The hostname.
publicKeyHash The public key hash for the hostname.