• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/crypto_framework",
3    "version": "3.2",
4    "description": "Openharmony's crypto framework.",
5    "publishAs": "code-segment",
6    "segment": {
7        "destPath": "base/security/crypto_framework"
8    },
9    "dirs": {},
10    "scripts": {},
11    "author": {},
12    "repository": "",
13    "license": "Apache License 2.0",
14    "component": {
15      "name": "crypto_framework",
16      "subsystem": "security",
17      "syscap": [
18        "SystemCapability.Security.CryptoFramework",
19        "SystemCapability.Security.CryptoFramework.Key",
20        "SystemCapability.Security.CryptoFramework.Key.SymKey",
21        "SystemCapability.Security.CryptoFramework.Key.AsymKey",
22        "SystemCapability.Security.CryptoFramework.Signature",
23        "SystemCapability.Security.CryptoFramework.Cipher",
24        "SystemCapability.Security.CryptoFramework.KeyAgreement",
25        "SystemCapability.Security.CryptoFramework.MessageDigest",
26        "SystemCapability.Security.CryptoFramework.Mac",
27        "SystemCapability.Security.CryptoFramework.Kdf",
28        "SystemCapability.Security.CryptoFramework.Rand"
29      ],
30      "features": [ "crypto_framework_enabled" ],
31      "adapted_system_type": [
32          "standard",
33          "mini"
34        ],
35      "rom": "2048KB",
36      "ram": "",
37      "deps": {
38        "components": [
39          "hilog",
40          "c_utils",
41          "napi",
42          "openssl",
43          "bounds_checking_function",
44          "runtime_core"
45        ],
46        "third_party": []
47      },
48      "build": {
49        "sub_component": [
50          "//base/security/crypto_framework:crypto_framework_component"
51        ],
52        "inner_kits": [
53          {
54            "name": "//base/security/crypto_framework/frameworks:crypto_framework_lib",
55            "header": {
56              "header_files": [
57                "algorithm_parameter/algorithm_parameter.h",
58                "algorithm_parameter/asy_key_params.h",
59                "algorithm_parameter/detailed_ccm_params.h",
60                "algorithm_parameter/detailed_dh_key_params.h",
61                "algorithm_parameter/detailed_dsa_key_params.h",
62                "algorithm_parameter/detailed_ecc_key_params.h",
63                "algorithm_parameter/detailed_alg_25519_key_params.h",
64                "algorithm_parameter/detailed_gcm_params.h",
65                "algorithm_parameter/detailed_hkdf_params.h",
66                "algorithm_parameter/detailed_iv_params.h",
67                "algorithm_parameter/detailed_pbkdf2_params.h",
68                "algorithm_parameter/detailed_rsa_key_params.h",
69                "algorithm_parameter/kdf_params.h",
70                "algorithm_parameter/sm2_crypto_params.h",
71                "common/big_integer.h",
72                "common/blob.h",
73                "common/object_base.h",
74                "common/result.h",
75                "crypto_operation/cipher.h",
76                "crypto_operation/kdf.h",
77                "crypto_operation/key_agreement.h",
78                "crypto_operation/mac.h",
79                "crypto_operation/md.h",
80                "crypto_operation/rand.h",
81                "crypto_operation/signature.h",
82                "crypto_operation/sm2_crypto_util.h",
83                "key/asy_key_generator.h",
84                "key/dh_key_util.h",
85                "key/ecc_key_util.h",
86                "key/key_pair.h",
87                "key/key_utils.h",
88                "key/key.h",
89                "key/pri_key.h",
90                "key/pub_key.h",
91                "key/sym_key_generator.h",
92                "key/sym_key.h"
93              ],
94              "header_base": "//base/security/crypto_framework/interfaces/inner_api"
95            }
96          },
97          {
98            "name": "//base/security/crypto_framework/frameworks/cj:cj_cryptoframework_ffi"
99          }
100        ],
101        "test": [
102            "//base/security/crypto_framework:crypto_framework_test",
103            "//base/security/crypto_framework:crypto_framework_fuzztest"
104        ]
105      }
106    }
107}
108