Home
last modified time | relevance | path

Searched full:cert_type (Results 1 – 10 of 10) sorted by relevance

/base/security/code_signature/services/key_enable/src/
Dcs_hisysevent.rs19 pub fn report_add_key_err(cert_type: &str, errcode: i32) { in report_add_key_err()
25 hisysevent::build_str_param!("STRING_SINGLE", cert_type), in report_add_key_err()
Dcert_path_utils.rs197 let cert_type = match cert_profile[TYPE_KEY].try_as_string() { in parse_cert_profile() localVariable
205 let path_type = match path_type_resolver(cert_mode, cert_type) { in parse_cert_profile()
254 fn path_resolver(cert_mode: &str, cert_type: &str) -> Result<u32, ()> { in path_resolver()
256 "Release" => ReleaseCertPathType::from_str(cert_type), in path_resolver()
257 "Dev" => DebugCertPathType::from_str(cert_type), in path_resolver()
/base/tee/tee_os_framework/services/permission_service/src/
Dperm_srv_set_config.c83 static TEE_Result conf_cert_ou_check(const uint8_t *ou, size_t ou_size, conf_cert_t *cert_type) in conf_cert_ou_check() argument
88 bool is_invalid = (ou == NULL || cert_type == NULL || ou_size > SN_MAX_SIZE); in conf_cert_ou_check()
95 *cert_type = CONF_RELEASE_CERT; in conf_cert_ou_check()
102 *cert_type = CONF_DEBUG_CERT; in conf_cert_ou_check()
110 static TEE_Result ta_cert_ou_check(const uint8_t *ou, size_t ou_size, ta_cert_t *cert_type) in ta_cert_ou_check() argument
115 bool is_invalid = (ou == NULL || cert_type == NULL || ou_size > SN_MAX_SIZE); in ta_cert_ou_check()
123 *cert_type = TA_RELEASE_CERT; in ta_cert_ou_check()
131 *cert_type = TA_DEBUG_CERT; in ta_cert_ou_check()
262 ret = ta_cert_ou_check(subjects->ou, subjects->ou_size, &cert_param->cert_type); in ta_cert_cn_ou_check()
294 perm_config->cert_type = cert_param->cert_type; in check_ta_cert_subjects()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/include/
Dcm_rdb_config.h30 const std::string COLUMN_CERT_TYPE = "CERT_TYPE";
/base/tee/tee_os_framework/services/permission_service/src/perm_srv_ta_config/
Dperm_srv_ta_config.h37 ta_cert_t cert_type; member
Dperm_srv_ta_config.c885 if (perm_config->cert_type == TA_RELEASE_CERT) { in perm_srv_parse_config_body()
/base/tee/tee_os_framework/lib/teelib/libpermission_service/src/
Dpermission_service.h82 ta_cert_t cert_type; member
/base/security/code_signature/
Dhisysevent.yaml44 CERT_TYPE: {type: STRING, desc: certificate type}
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/rdb/src/
Dcm_cert_property_rdb.cpp37 …"(URI TEXT PRIMARY KEY, ALIAS TEXT NOT NULL, SUBJECT_NAME TEXT NOT NULL, CERT_TYPE TEXT NOT NULL, … in CreateCertPropertyRdb()
/base/tee/tee_os_framework/lib/syslib/libelf_verify/src/
Dtee_v3_elf_verify.c647 if (cert_param->cert_type == TA_DEBUG_CERT) { in get_signature_verify_key()