mirror of
https://gitee.com/openharmony/security_privacy_center
synced 2024-11-22 23:29:58 +00:00
commit
341ec0e617
@ -51,10 +51,10 @@ export default class CmInstallPresenter {
|
||||
console.debug(TAG + 'updateCertFileType suffix: ' + suffix);
|
||||
if ((suffix === 'cer') || (suffix === 'pem') || (suffix === 'crt') || (suffix === 'der')) {
|
||||
this.optType = CMModelOptType.CM_MODEL_OPT_USER_CA;
|
||||
} else if (((suffix === 'p12') || (suffix === 'jks') || (suffix === 'pfx')) &&
|
||||
} else if (((suffix === 'p12') || (suffix === 'pfx')) &&
|
||||
AppStorage.get('installUserCred') === true) {
|
||||
this.optType = CMModelOptType.CM_MODEL_OPT_APP_CRED;
|
||||
} else if (((suffix === 'p12') || (suffix === 'jks') || (suffix === 'pfx')) &&
|
||||
} else if (((suffix === 'p12') || (suffix === 'pfx')) &&
|
||||
AppStorage.get('installSystemCred') === true) {
|
||||
this.optType = CMModelOptType.CM_MODEL_OPT_SYSTEM_CRED;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user