#include <common/step/security/step_rollback_deinstallation_security.h>
#include <common/step/security/step_rollback_installation_security.h>
#include <common/step/security/step_update_security.h>
+#include <common/step/security/step_register_trust_anchor.h>
+#include <common/step/security/step_unregister_trust_anchor.h>
#include <tpk/step/filesystem/step_create_symbolic_link.h>
#include <tpk/step/filesystem/step_tpk_patch_icons.h>
AddStep<wgt::filesystem::StepCreateSymbolicLink>();
AddStep<tpk::filesystem::StepCreateSymbolicLink>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
AddStep<wgt::filesystem::StepCreateSymbolicLink>();
AddStep<tpk::filesystem::StepCreateSymbolicLink>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
AddStep<ci::filesystem::StepRemoveZipImage>();
AddStep<ci::filesystem::StepRemoveIcons>();
AddStep<wgt::encryption::StepRemoveEncryptionData>();
+ AddStep<ci::security::StepUnregisterTrustAnchor>();
AddStep<ci::security::StepRevokeSecurity>();
AddStep<ci::pkgmgr::StepRemoveManifest>();
AddStep<ci::filesystem::StepCreateGlobalAppSymlinks>();
AddStep<hybrid::configuration::StepMergeTpkConfig>();
AddStep<wgt::filesystem::StepCreateSymbolicLink>();
AddStep<tpk::filesystem::StepCreateSymbolicLink>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
AddStep<wgt::filesystem::StepCreateSymbolicLink>();
AddStep<tpk::filesystem::StepCreateSymbolicLink>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
AddStep<wgt::filesystem::StepCreateSymbolicLink>();
AddStep<tpk::filesystem::StepCreateSymbolicLink>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
AddStep<hybrid::configuration::StepMergeTpkConfig>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
AddStep<hybrid::configuration::StepMergeTpkConfig>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
AddStep<ci::security::StepCheckSignature>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Install);
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::pkgmgr::StepRunParserPlugin>(
ci::Plugin::ActionType::Upgrade);
AddStep<ci::filesystem::StepRemovePerUserStorageDirectories>();
AddStep<ci::pkgmgr::StepUnregisterApplication>();
AddStep<wgt::encryption::StepRemoveEncryptionData>();
+ AddStep<ci::security::StepUnregisterTrustAnchor>();
AddStep<ci::security::StepRevokeSecurity>();
break;
}
#include <common/step/security/step_update_security.h>
#include <common/step/security/step_register_trust_anchor.h>
#include <common/step/security/step_unregister_trust_anchor.h>
-#include <common/step/security/step_update_trust_anchor.h>
#include <wgt_manifest_handlers/widget_config_parser.h>
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepRegisterTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::filesystem::StepUpdateTep>();
AddStep<ci::rds::StepRDSModify>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepRegisterTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<wgt::filesystem::StepWgtPatchIcons>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepRegisterTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<wgt::filesystem::StepWgtPatchIcons>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<wgt::security::StepCheckExtensionPrivileges>();
AddStep<wgt::pkgmgr::StepGenerateXml>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<ci::filesystem::StepRemoveZipImage>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
AddStep<ci::configuration::StepSwitchReadonlyMode>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();
AddStep<wgt::security::StepCheckWgtBackgroundCategory>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepRegisterTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::INSTALL);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::filesystem::StepRemoveGlobalAppSymlinks>();
AddStep<ci::pkgmgr::StepUpdateApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::security::StepUpdateSecurity>();