/** * Copyright (c) 2022-2024 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ { "module": { "name": "CertManager", "type": "feature", "description": "$string:mainability_description", "mainElement": "MainAbility", "deviceTypes": [ "default" ], "metadata": [ { "name": "ArkTSPartialUpdate", "value": "true" }, { "name": "partialUpdateStrictCheck", "value": "all" } ], "deliveryWithInstall": true, "installationFree": false, "pages": "$profile:main_pages", "abilities": [ { "name": "MainAbility", "srcEntry": "./ets/MainAbility/MainAbility.ts", "description": "$string:mainability_description", "icon": "$media:icon", "label": "$string:entry_MainAbility", "exported": true, "launchType": "singleton", "startWindowIcon": "$media:icon", "startWindowBackground": "$color:color_1", "orientation": "auto_rotation_restricted", "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home" ] } ] } ], "extensionAbilities": [ { "name": "MainExtensionAbility", "srcEntry": "./ets/MainAbility/MainExtensionAbility.ts", "description": "$string:mainability_description", "icon": "$media:icon", "label": "$string:entry_MainAbility", "exported": true, "permissions": ['ohos.permission.ACCESS_CERT_MANAGER'], "type": "sys/commonUI", "skills": [ { "entities": [ "entity.system.home" ], "actions": [ "action.system.home", "action.access.privacy.center", "ohos.want.action.viewData" ] } ], "metadata": [ { "name": 'metadata.access.privacy.center', "value": 'security_privacy.json' } ] }, { "name": "CertPickerUIExtAbility", "srcEntry": "./ets/MainAbility/CertPickerUiExtAbility.ets", "exported": true, "permissions": ['ohos.permission.ACCESS_CERT_MANAGER'], "type": "sys/commonUI" } ], "requestPermissions": [ { "name": "ohos.permission.GET_BUNDLE_INFO" }, { "name": "ohos.permission.ACCESS_CERT_MANAGER_INTERNAL" }, { "name": "ohos.permission.ACCESS_CERT_MANAGER" }, { "name": "ohos.permission.GET_BUNDLE_RESOURCES" }, { "name": "ohos.permission.ACCESS_SECURITY_PRIVACY_CENTER" }, { "name": "ohos.permission.ACCESS_BIOMETRIC" }, { "name": "ohos.permission.PRIVACY_WINDOW" }, { "name": "ohos.permission.ACCESS_SYSTEM_APP_CERT" }, { "name": "ohos.permission.ACCESS_USER_TRUSTED_CERT" }, { "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" } ] } }