- Overview
- Installation
- Configuration of Certificate Pinning
- Documentation
- Demo Application
- Technical Support
- Business Enquiries
Sample project in Swift, demonstrating how to set up and use the Certificate Pinning feature.
- Download or clone the current repository using the command
git clone https://github.com/regulaforensics/DocumentReader-iOS.git - Open the
DocumentReaderCertificatePinningproject in an IDE. - Run pods
pod install - Add license and database files to the target:
- Visit Regula Client Portal to get a trial license (
regula.licensefile). The license creation wizard will guide you through the necessary steps. - Copy the license file to the project:
CertificatePinning/DocumentReaderCertificatePinning/DocumentReaderCertificatePinning/ - Copy the database file
db.datfrom Regula Client Portal to the project:CertificatePinning/DocumentReaderCertificatePinning/DocumentReaderCertificatePinning/
- Visit Regula Client Portal to get a trial license (
- Change the application Bundle ID to the one you have specified during the registration at Regula Client Portal.
Note: Requires iOS 14.0 minimum deployment target.
Check the official Apple documentation for Identity Pinning for iOS devices.
See the article how to generate key for the app.
- In the
Info.plistfile addNSPinnedDomainssection to theNSAppTransportSecuritysection. - Add your domain. Set
YESforNSIncludesSubdomainsto spread pinning over all subdomains. - In the domain
NSPinnedLeafIdentitiesarray use your generated 'SHA-256' hash key.
Document Reader SDK Mobile Documentation
Regula Document Reader iOS Demo Application in the App Store
To submit a request to the Support Team, visit Regula Help Center.
To discuss business opportunities, fill the Enquiry Form and specify your scenarios, applications, and technical requirements.