Click or drag to resize
GDPkcs12StoreHelperShowCertificatePasswordUIAsync Method
Opens the BlackBerry Dynamics Runtime Certificate Import user interface.

Namespace:  GD
Assembly:  GD (in GD.dll) Version: 255.255.255.255
Syntax
public static IAsyncOperation<bool> ShowCertificatePasswordUIAsync()

Return Value

Type: IAsyncOperationBoolean
Remarks

Calling of this method is only possible when GDControlCertificateImportPrompt value is defined in the settings.json file (either true or false).

There are three possible ways of controlling Certificate Import UI prompts in your application:

  1. Automatic - this is the default behaviour, when a GDControlCertificateImportPrompt is not defined. In this scenario the SDK takes care of all prompting cases and your application in not able to control it in any way (ShowCertificatePasswordUIAsync will fail in this scenario)
  2. Semi-automatic - when you define GDControlCertificateImportPrompt to false. The SDK will handle most of the cases, but you can e.g. control when previously deferred certificate imports will be retried by calling ShowCertificatePasswordUIAsync.
  3. Manual - when you define GDControlCertificateImportPrompt to true. Your application can/needs to handle all Certificate Import cases. The SDK will not display any UI prompts.

See Also