13e0f1854Sopenharmony_ci/**
23e0f1854Sopenharmony_ci * Copyright (c) 2022-2024 Huawei Device Co., Ltd.
33e0f1854Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
43e0f1854Sopenharmony_ci * you may not use this file except in compliance with the License.
53e0f1854Sopenharmony_ci * You may obtain a copy of the License at
63e0f1854Sopenharmony_ci *
73e0f1854Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
83e0f1854Sopenharmony_ci *
93e0f1854Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
103e0f1854Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
113e0f1854Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
123e0f1854Sopenharmony_ci * See the License for the specific language governing permissions and
133e0f1854Sopenharmony_ci * limitations under the License.
143e0f1854Sopenharmony_ci */
153e0f1854Sopenharmony_ci{
163e0f1854Sopenharmony_ci  "module": {
173e0f1854Sopenharmony_ci    "name": "CertManager",
183e0f1854Sopenharmony_ci    "type": "feature",
193e0f1854Sopenharmony_ci    "description": "$string:mainability_description",
203e0f1854Sopenharmony_ci    "mainElement": "MainAbility",
213e0f1854Sopenharmony_ci    "deviceTypes": [
223e0f1854Sopenharmony_ci      "default"
233e0f1854Sopenharmony_ci    ],
243e0f1854Sopenharmony_ci    "metadata": [
253e0f1854Sopenharmony_ci      {
263e0f1854Sopenharmony_ci        "name": "ArkTSPartialUpdate",
273e0f1854Sopenharmony_ci        "value": "true"
283e0f1854Sopenharmony_ci      },
293e0f1854Sopenharmony_ci      {
303e0f1854Sopenharmony_ci        "name": "partialUpdateStrictCheck",
313e0f1854Sopenharmony_ci        "value": "all"
323e0f1854Sopenharmony_ci      }
333e0f1854Sopenharmony_ci    ],
343e0f1854Sopenharmony_ci    "deliveryWithInstall": true,
353e0f1854Sopenharmony_ci    "installationFree": false,
363e0f1854Sopenharmony_ci    "pages": "$profile:main_pages",
373e0f1854Sopenharmony_ci    "abilities": [
383e0f1854Sopenharmony_ci      {
393e0f1854Sopenharmony_ci        "name": "MainAbility",
403e0f1854Sopenharmony_ci        "srcEntry": "./ets/MainAbility/MainAbility.ts",
413e0f1854Sopenharmony_ci        "description": "$string:mainability_description",
423e0f1854Sopenharmony_ci        "icon": "$media:icon",
433e0f1854Sopenharmony_ci        "label": "$string:entry_MainAbility",
443e0f1854Sopenharmony_ci        "exported": true,
453e0f1854Sopenharmony_ci        "launchType": "singleton",
463e0f1854Sopenharmony_ci        "startWindowIcon": "$media:icon",
473e0f1854Sopenharmony_ci        "startWindowBackground": "$color:color_1",
483e0f1854Sopenharmony_ci        "orientation": "auto_rotation_restricted",
493e0f1854Sopenharmony_ci        "skills": [
503e0f1854Sopenharmony_ci          {
513e0f1854Sopenharmony_ci            "entities": [
523e0f1854Sopenharmony_ci              "entity.system.home"
533e0f1854Sopenharmony_ci            ],
543e0f1854Sopenharmony_ci            "actions": [
553e0f1854Sopenharmony_ci              "action.system.home"
563e0f1854Sopenharmony_ci            ]
573e0f1854Sopenharmony_ci          }
583e0f1854Sopenharmony_ci        ]
593e0f1854Sopenharmony_ci      }
603e0f1854Sopenharmony_ci    ],
613e0f1854Sopenharmony_ci    "extensionAbilities": [
623e0f1854Sopenharmony_ci      {
633e0f1854Sopenharmony_ci        "name": "MainExtensionAbility",
643e0f1854Sopenharmony_ci        "srcEntry": "./ets/MainAbility/MainExtensionAbility.ts",
653e0f1854Sopenharmony_ci        "description": "$string:mainability_description",
663e0f1854Sopenharmony_ci        "icon": "$media:icon",
673e0f1854Sopenharmony_ci        "label": "$string:entry_MainAbility",
683e0f1854Sopenharmony_ci        "exported": true,
693e0f1854Sopenharmony_ci        "permissions": ['ohos.permission.ACCESS_CERT_MANAGER'],
703e0f1854Sopenharmony_ci        "type": "sys/commonUI",
713e0f1854Sopenharmony_ci        "skills": [
723e0f1854Sopenharmony_ci          {
733e0f1854Sopenharmony_ci            "entities": [
743e0f1854Sopenharmony_ci              "entity.system.home"
753e0f1854Sopenharmony_ci            ],
763e0f1854Sopenharmony_ci            "actions": [
773e0f1854Sopenharmony_ci              "action.system.home",
783e0f1854Sopenharmony_ci              "action.access.privacy.center",
793e0f1854Sopenharmony_ci              "ohos.want.action.viewData"
803e0f1854Sopenharmony_ci            ]
813e0f1854Sopenharmony_ci          }
823e0f1854Sopenharmony_ci        ],
833e0f1854Sopenharmony_ci        "metadata": [
843e0f1854Sopenharmony_ci          {
853e0f1854Sopenharmony_ci            "name": 'metadata.access.privacy.center',
863e0f1854Sopenharmony_ci            "value": 'security_privacy.json'
873e0f1854Sopenharmony_ci          }
883e0f1854Sopenharmony_ci        ]
893e0f1854Sopenharmony_ci      },
903e0f1854Sopenharmony_ci      {
913e0f1854Sopenharmony_ci        "name": "CertPickerUIExtAbility",
923e0f1854Sopenharmony_ci        "srcEntry": "./ets/MainAbility/CertPickerUiExtAbility.ets",
933e0f1854Sopenharmony_ci        "exported": true,
943e0f1854Sopenharmony_ci        "permissions": ['ohos.permission.ACCESS_CERT_MANAGER'],
953e0f1854Sopenharmony_ci        "type": "sys/commonUI"
963e0f1854Sopenharmony_ci      }
973e0f1854Sopenharmony_ci    ],
983e0f1854Sopenharmony_ci    "requestPermissions": [
993e0f1854Sopenharmony_ci      {
1003e0f1854Sopenharmony_ci        "name": "ohos.permission.GET_BUNDLE_INFO"
1013e0f1854Sopenharmony_ci      },
1023e0f1854Sopenharmony_ci      {
1033e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_CERT_MANAGER_INTERNAL"
1043e0f1854Sopenharmony_ci      },
1053e0f1854Sopenharmony_ci      {
1063e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_CERT_MANAGER"
1073e0f1854Sopenharmony_ci      },
1083e0f1854Sopenharmony_ci      {
1093e0f1854Sopenharmony_ci        "name": "ohos.permission.GET_BUNDLE_RESOURCES"
1103e0f1854Sopenharmony_ci      },
1113e0f1854Sopenharmony_ci      {
1123e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_SECURITY_PRIVACY_CENTER"
1133e0f1854Sopenharmony_ci      },
1143e0f1854Sopenharmony_ci      {
1153e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_BIOMETRIC"
1163e0f1854Sopenharmony_ci      },
1173e0f1854Sopenharmony_ci      {
1183e0f1854Sopenharmony_ci        "name": "ohos.permission.PRIVACY_WINDOW"
1193e0f1854Sopenharmony_ci      },
1203e0f1854Sopenharmony_ci      {
1213e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_SYSTEM_APP_CERT"
1223e0f1854Sopenharmony_ci      },
1233e0f1854Sopenharmony_ci      {
1243e0f1854Sopenharmony_ci        "name": "ohos.permission.ACCESS_USER_TRUSTED_CERT"
1253e0f1854Sopenharmony_ci      },
1263e0f1854Sopenharmony_ci      {
1273e0f1854Sopenharmony_ci        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
1283e0f1854Sopenharmony_ci      }
1293e0f1854Sopenharmony_ci    ]
1303e0f1854Sopenharmony_ci  }
1313e0f1854Sopenharmony_ci}