Home
last modified time | relevance | path

Searched refs:hmacAlgo (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/
H A Dnapi_rdb_const_properties.cpp227 napi_value hmacAlgo = nullptr; in ExportHmacAlgo() local
228 napi_create_object(env, &hmacAlgo); in ExportHmacAlgo()
230 SET_NAPI_PROPERTY(hmacAlgo, "SHA1", int32_t(NativeRdb::HmacAlgo::SHA1)); in ExportHmacAlgo()
231 SET_NAPI_PROPERTY(hmacAlgo, "SHA256", int32_t(NativeRdb::HmacAlgo::SHA256)); in ExportHmacAlgo()
232 SET_NAPI_PROPERTY(hmacAlgo, "SHA512", int32_t(NativeRdb::HmacAlgo::SHA512)); in ExportHmacAlgo()
233 napi_object_freeze(env, hmacAlgo); in ExportHmacAlgo()
234 return hmacAlgo; in ExportHmacAlgo()
H A Dnapi_rdb_js_utils.cpp332 …NAPI_CALL_RETURN_ERR(GetNamedProperty(env, input, "hmacAlgo", cryptoParam.hmacAlgo, true), napi_in… in Convert2Value()
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/
H A DRdbstoreEncryptionJsunit.test.js55 hmacAlgo: data_relationalStore.HmacAlgo.SHA256, property in STORE_CONFIG_DEFAULT.cryptoParam
69 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in STORE_CONFIG_NON_DEFAULT.cryptoParam
442 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
472 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
502 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
532 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
656 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
714 hmacAlgo: data_relationalStore.HmacAlgo.SHA512, property in console.info.cryptoParam
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dsqlite_utils.cpp306 const char *SqliteUtils::HmacAlgoDescription(int32_t hmacAlgo) in HmacAlgoDescription() argument
308 HmacAlgo hmacEnum = static_cast<HmacAlgo>(hmacAlgo); in HmacAlgoDescription()
H A Drdb_store_config.cpp657 if (hmacAlgo < SHA1 || hmacAlgo > SHA512) { in IsValid()
H A Drdb_store_impl.cpp1590 …config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdf… in SetDefaultEncryptSql()
1598 …config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdf… in SetDefaultEncryptSql()
1634 …SqliteUtils::HmacAlgoDescription(config.GetCryptoParam().hmacAlgo) + std::string(GlobalExpr::ALGO_… in SetDefaultEncryptAlgo()
H A Dsqlite_connection.cpp526 …config.GetCryptoParam().encryptAlgo, config.GetCryptoParam().hmacAlgo, config.GetCryptoParam().kdf… in SetEncryptAgo()
548 SqliteUtils::HmacAlgoDescription(config.GetCryptoParam().hmacAlgo) + in SetEncryptAgo()
/ohos5.0/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dsqlite_utils.h63 static const char *HmacAlgoDescription(int32_t hmacAlgo);
/ohos5.0/docs/zh-cn/application-dev/database/
H A Ddata-encryption.md119 hmacAlgo: relationalStore.HmacAlgo.SHA256, // 可选参数,HMAC算法。如不指定,默认值为SHA256。
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/mock/include/
H A Drdb_store_config.h120 int32_t hmacAlgo = HmacAlgo::SHA256; member
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/inner_api/rdb/include/
H A Drdb_store_config.h215 int32_t hmacAlgo = HmacAlgo::SHA256; member
/ohos5.0/docs/en/application-dev/database/
H A Ddata-encryption.md119hmacAlgo: relationalStore.HmacAlgo.SHA256, // (Optional) HMAC algorithm. If this parameter is no…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkdata/
H A Djs-apis-data-relationalStore.md598 | hmacAlgo | [HmacAlgo](#hmacalgo14) | 否 | 指定数据库加解密使用的HMAC算法。如不指定,默认值为SHA256。 |
/ohos5.0/docs/en/application-dev/reference/apis-arkdata/
H A Djs-apis-data-relationalStore.md593 | hmacAlgo | [HmacAlgo](#hmacalgo14) | No| HMAC algorithm used for database encryption and decrypti…