Certificate Pinning & Integrity
Defend against MITM attacks with certificate pinning and protect your app against runtime tampering with integrity checks and data sealing.
Certificate Pinning
Hash a Public Key
Pinning Policies
Validate with URLSession
Dynamic Pin Management
Manual Validation
Integrity Checker
Detect jailbreaks, debuggers, simulators, and reverse engineering tools at runtime.
Full Check
Individual Checks
Detection Methods
Integrity Policy
Data Seal
HMAC-SHA256 tamper-evident sealing for Codable values — proves data hasn’t been modified since sealing.
Seal and Unseal
Verify Without Unsealing
Raw MAC Verification
File Integrity
Track SHA-256 hashes of critical files — detect unexpected modifications.
Jailbreak detection is not foolproof — sophisticated tools can bypass these checks. Use defense-in-depth: combine integrity checks with certificate pinning, data sealing, and server-side validation.