TransportSecurityPolicy

data class TransportSecurityPolicy(val certificatePins: List<CertificatePin> = emptyList(), val mtlsConfig: MtlsConfig? = null, val certificateTransparencyEnabled: Boolean = false)

Transport layer security policy configuration.

This policy controls certificate pinning, mutual TLS authentication, and certificate transparency validation for SDK network communications.

Constructors

Link copied to clipboard
constructor(certificatePins: List<CertificatePin> = emptyList(), mtlsConfig: MtlsConfig? = null, certificateTransparencyEnabled: Boolean = false)

Properties

Link copied to clipboard

List of certificate pins for hostname-based validation. Multiple pins per hostname support key rotation (primary + backup).

Link copied to clipboard

When true, validates certificates against Certificate Transparency logs. Requires network access to CT log servers.

Link copied to clipboard

Mutual TLS configuration for client certificate authentication. When set, the SDK will present a client certificate during TLS handshake.