Skip to main content

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
}];
ParameterDescription
licenseYour license key.
apiKeyYour API key for MobbSign Server. Provided by Mobbeel. Required.
appIdYour application ID for MobbSign Server. Provided by Mobbeel. Required.
onlineModeYES signs online, with the electronic seal. NO signs on the device, without connecting to the server.
allowOfflineIfErrorYES lets the app keep working if the communication with the server fails.
environmenttest signs against the test server; pro, against the production server.
initAPIStatusBlock 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.