The initialize method is the main method called by the Logon plugin to asynchronously get the client certificate from the remote server or file system. You can use the returned certificate for mutual authentication or application registration.
For iOS, if the operation succeeded, the completion block is called with a valid SecRefIdentity object, otherwise, the completion block is called with an error object.
If the certificate already exists, the method should immediately call the completion block with the existing certificate without retrieving the certificate again from the remote source.
- (void) initialize:(NSDictionary*)option withCompletion:(void(^)(SecIdentityRef identityRef, NSError* error))completion;
- option A NSDictionary that contains the certificate provider's initial configuration information, and defaults to null.
- completion A completion block to report the operation result to the caller.