Provisioning Certificates Using URL with Afaria

Returns the certificate as a base64 encoded string.

Note: This API is deprecated.

Syntax

- (NSString *) getSignedCertificateFromAfariaForURL: (NSSTring *) url
withUsername: (NSString *) username
withPassword: (NSString *) password

Parameters

Returns

Returns the certificate as a base64 encoded string.

Examples

Usage

This API has to mandatorily be called in the
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
method of your application delegate. The API is called after the Afaria client generates a URL and forwards it to the application via the delegate. This is required only if the above call is the first call to Afaria in the application.