diff --git a/interfaces/innerkits/appverify/include/provision/provision_info.h b/interfaces/innerkits/appverify/include/provision/provision_info.h index 70e554c5e948a14a0c3af8b68f52461902c133bd..beb78bef32931626ac47bb3043946dff1f5881e7 100644 --- a/interfaces/innerkits/appverify/include/provision/provision_info.h +++ b/interfaces/innerkits/appverify/include/provision/provision_info.h @@ -43,6 +43,7 @@ struct BundleInfo { std::string bundleName; std::string apl; std::string appFeature; + std::string appIdentifier; std::vector dataGroupIds; }; diff --git a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp index 616196486b05faa78c050097a53995dadfa9c8d3..a93b989e6d5f57f2a18df96cd21b4f9fe5d00a49 100644 --- a/interfaces/innerkits/appverify/src/provision/provision_verify.cpp +++ b/interfaces/innerkits/appverify/src/provision/provision_verify.cpp @@ -73,6 +73,7 @@ const string VALUE_NOT_AFTER = "not-after"; const string KEY_BASEAPP_INFO = "baseapp-info"; const string KEY_PACKAGE_NAME = "package-name"; const string KEY_PACKAGE_CERT = "package-cert"; +const string KEY_APP_IDENTIFIER = "app-identifier"; const string GENERIC_BUNDLE_NAME = ".*"; const string VALUE_DEVELOPMENT_MODE = "1"; @@ -160,6 +161,7 @@ void ParseBundleInfo(const json& obj, ProvisionInfo& out) GetStringIfExist(bundleInfo, KEY_BUNDLE_NAME, out.bundleInfo.bundleName); GetStringIfExist(bundleInfo, KEY_APL, out.bundleInfo.apl); GetStringIfExist(bundleInfo, KEY_APP_FEATURE, out.bundleInfo.appFeature); + GetStringIfExist(bundleInfo, KEY_APP_IDENTIFIER, out.bundleInfo.appIdentifier); GetStringArrayIfExist(bundleInfo, KEY_DATA_GROUP_IDS, out.bundleInfo.dataGroupIds); } }