#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 "tpk/step/configuration/step_adjust_install_location.h"
#include "tpk/step/configuration/step_check_reinstall_manifest.h"
AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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<tpk::filesystem::StepTpkPatchIcons>();
AddStep<ci::security::StepRollbackInstallationSecurity>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<ci::pkgmgr::StepKillApps>();
AddStep<ci::security::StepRollbackInstallationSecurity>();
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::StepRegisterSecurity>();
ci::security::StepPrivilegeCompatibility::InternalPrivType::TPK);
AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
AddStep<ci::pkgmgr::StepRegisterApplication>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Install);
AddStep<ci::security::StepRegisterSecurity>();
AddStep<tpk::security::StepCheckTpkBackgroundCategory>();
AddStep<ci::pkgmgr::StepKillApps>();
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::StepRegisterSecurity>();
AddStep<tpk::pkgmgr::StepConvertXml>();
AddStep<tpk::pkgmgr::StepManifestAdjustment>();
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::pkgmgr::StepUpdateApplication>();
AddStep<ci::security::StepRollbackDeinstallationSecurity>();
AddStep<ci::filesystem::StepRemoveTep>();
- AddStep<ci::security::StepUpdateTrustAnchor>();
+ AddStep<ci::security::StepRegisterTrustAnchor>(
+ ci::security::StepRegisterTrustAnchor::RegisterType::UPDATE);
AddStep<ci::security::StepPrivacyPrivilege>(
ci::security::StepPrivacyPrivilege::ActionType::Update);
AddStep<ci::filesystem::StepRemoveFiles>();