...
Code Block | ||
---|---|---|
| ||
import TrustKit let yourPublicPinningConfig = [ kTSKPinnedDomains: [ "pay-api.gini.net": [ kTSKPublicKeyHashes: [ // old *.gini.net public key "cNzbGowA+LNeQ681yMm8ulHxXiGojHE8qAjI+M7bIxU=", // new *.gini.net public key, active from around June 2020 "zEVdOCzXU8euGVuMJYPr3DUU/d1CaKevtr0dW0XzZNo=" ]], "user.gini.net": [ kTSKPublicKeyHashes: [ // old *.gini.net public key "cNzbGowA+LNeQ681yMm8ulHxXiGojHE8qAjI+M7bIxU=", // new *.gini.net public key, active from around June 2020 "zEVdOCzXU8euGVuMJYPr3DUU/d1CaKevtr0dW0XzZNo=" ]], ]] as [String: Any] let viewController = GiniBank.viewController(withClient: client, configuration: giniBankConfiguration, resultsDelegate: giniCaptureResultsDelegate, publicKeyPinningConfig: yourPublicPinningConfig, documentMetadata: documentMetadata, api: .default) present(viewController, animated: true, completion:nil) | ||
Info |
The document metadata for the upload process is intended to be used for reporting.
...
Find out more about it in the Gini Bank API documentation.
Info |
---|
Certification pinning requires iOS 12. |