Signature with electronic seal
Since version 3.5.0, the SDK can seal the biometric signature online: the handwritten signature is captured on the device and sealed with the electronic seal of the trust service provider through MobbSign Server. See Signature types.
Initialise the SDK
Initialise the SDK with initAPI instead of configureLicense. Do not call configureLicense.
[self.mobbSignView initAPI:license
apiKey:@"YOUR_API_KEY"
appId:@"YOUR_APP_ID"
onlineMode:YES
allowOfflineIfError:YES
environment:@"pro"
initAPIStatus:^(MobbSignAPIResult apiResult, MobbSignLicenseResult result, NSDate *expirationDate) {
// Check the result of the initialisation and of the license
}];
| Parameter | Description |
|---|---|
license | Your license key. |
apiKey | Your API key for MobbSign Server. Provided by Mobbeel. Required. |
appId | Your application ID for MobbSign Server. Provided by Mobbeel. Required. |
onlineMode | YES signs online, with the electronic seal. NO signs on the device, without connecting to the server. |
allowOfflineIfError | YES lets the app keep working if the communication with the server fails. |
environment | test signs against the test server; pro, against the production server. |
initAPIStatus | Block called when the initialisation finishes, with the result of the API and of the license. |
Protect your credentials
The API key and the application ID identify your organisation in MobbSign Server. Do not hard-code them in source code that is stored in a repository; load them from a secure configuration.