harmony 鸿蒙证书管理错误码

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

证书管理错误码

说明:

以下仅介绍本模块特有错误码,通用错误码请参考通用错误码说明文档

17500001 内部错误

错误信息

Internal error.

可能原因

调用API时发生内部错误。

处理步骤

检查内部运行情况是否正常。

17500002 证书不存在

错误信息

The certificate does not exist.

可能原因

证书管理过程中发现证书不存在。

处理步骤

检查证书是否存在。

17500003 证书或凭据无效

错误信息

The keystore is in an invalid format or the keystore password is incorrect.

可能原因

输入不是有效的证书或凭据。

处理步骤

检查证书或凭据的有效性。

17500004 证书或凭据数量达到上限

错误信息

The number of certificates or credentials reaches the maximum allowed.

可能原因

已安装的证书或凭据数量达到最大值。

处理步骤

清理过期的证书或凭据。

17500005 应用未经用户授权

错误信息

The application is not authorized by the user.

可能原因

用户没有将输入的凭据授权给当前应用使用。

处理步骤

检查输入的凭据是否正确或当前应用申请授权。

17500007 设备进入坚盾守护模式

错误信息

The device enters advanced security mode.

可能原因

用户已开启坚盾守护模式。

处理步骤

需要在应用界面提醒用户关闭坚盾守护模式。

17500009 不支持指定的证书存储路径

错误信息

The device does not support the specified certificate store path.

可能原因

设备不支持指定的证书存储路径。

处理步骤

检查输入的证书类型是否正确。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Device Certificate Kit(设备证书服务)

harmony 鸿蒙证书错误码

harmony 鸿蒙证书管理对话框错误码

harmony 鸿蒙js-apis-cert

harmony 鸿蒙@ohos.security.certManager (证书管理模块)(系统接口)

harmony 鸿蒙@ohos.security.certManager (证书管理模块)

harmony 鸿蒙@ohos.security.certManagerDialog (证书管理对话框模块)

0  赞