Developer

setParameters Method

The setParameters method is optional, and it is only used to provide additional information for getting the certificate after the initialize method starts.

For example, if the certificate provider needs to get URL information from the appDelegate.openURL method, then appDelegate.openURL can call setParameter to pass the URL to the certificate provider.

Syntax

- (BOOL) setParameters:(NSDictionary*)params failedWithError:(NSError **)error

Parameters

  • params An NSDictionary object that contains the parameters for retrieving the certificate.
  • error If an error occurs, the method return contains an NSError object that describes the problem.

Returns

True or false.