harmony 鸿蒙Certificate Management Dialog Box Error Codes

  • 2025-06-12
  • 浏览 (4)

Certificate Management Dialog Box Error Codes

NOTE

This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.

29700001 Internal Error

Error Message

Internal error.

Possible Causes

An internal error occurs when the API is called.

Solution

Check for and rectify the internal error.

29700002 Operation Canceled

Error Message

The user cancels the installation operation.

Possible Causes

The user canceled the operation when the API was called.

Solution

No action is required.

29700003 Failed to Install the Certificate

Error Message

The installation of the user certificate failed in the certificate manager dialog, for example, the certificate is in an invalid format.

Possible Causes

The certificate installation fails.

Solution

Check for incorrect certificate format and data.

29700004 Operation Not Supported by the Device

Error Message

The API is not supported on this device.

Possible Causes

The API is available only for a PC application.

Solution

Ensure that the caller is running on a PC.

29700005 Invalid Operation

Error Message

The operation does not comply with the device security policy, such as the device does not allow users to manage the ca certificate of the global user.

Possible Causes

The device is not an enterprise device.

Solution

Call the API on an enterprise device.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Device Certificate Kit (Device Certificate Service)

harmony 鸿蒙Certificate Error Codes

harmony 鸿蒙Certificate Management Error Codes

harmony 鸿蒙js-apis-cert

harmony 鸿蒙@ohos.security.certManager (Certificate Management) (System API)

harmony 鸿蒙@ohos.security.certManager (Certificate Management)

harmony 鸿蒙@ohos.security.certManagerDialog (Certificate Management Dialog Box)

0  赞