Home
last modified time | relevance | path

Searched refs:profile_json (Results 1 - 2 of 2) sorted by relevance

/base/security/code_signature/services/key_enable/src/
H A Dprofile_utils.rs118 let profile_json = parse_and_validate_profile(profile, check_udid)?; in parse_pkcs7_data()
119 get_cert_details(&profile_json) in parse_pkcs7_data()
135 profile_json: &JsonValue, in validate_bundle_and_distribution_type()
138 let bundle_type = profile_json[PROFILE_TYPE_KEY].try_as_string()?.as_str(); in validate_bundle_and_distribution_type()
141 if check_udid && verify_udid(profile_json).is_err() { in validate_bundle_and_distribution_type()
146 let distribution_type = profile_json[PROFILE_APP_DISTRIBUTION_TYPE_KEY].try_as_string()?.as_str(); in validate_bundle_and_distribution_type()
149 if check_udid && verify_udid(profile_json).is_err() { in validate_bundle_and_distribution_type()
173 let profile_json = JsonValue::from_text(profile)?; in parse_and_validate_profile()
174 validate_bundle_and_distribution_type(&profile_json, check_udid)?; in parse_and_validate_profile()
175 Ok(profile_json) in parse_and_validate_profile()
[all...]
/base/security/code_signature/test/unittest/
H A Drust_key_enable_test.rs143 let profile_json =JsonValue::from_text(profile_str).unwrap(); in test_parse_enterprise_profile()
144 let result = validate_bundle_and_distribution_type(&profile_json, true); in test_parse_enterprise_profile()
182 let profile_json =JsonValue::from_text(profile_str).unwrap(); in test_parse_enterprise_normal_profile()
183 let result = validate_bundle_and_distribution_type(&profile_json, true); in test_parse_enterprise_normal_profile()
221 let profile_json =JsonValue::from_text(profile_str).unwrap(); in test_parse_enterprise_mdm_profile()
222 let result = validate_bundle_and_distribution_type(&profile_json, true); in test_parse_enterprise_mdm_profile()
265 let mut profile_json =JsonValue::from_text(profile_str).unwrap(); in test_parse_debug_profile() variables
266 profile_json["debug-info"]["device-ids"][0] = JsonValue::String(udid); in test_parse_debug_profile()
267 let result = validate_bundle_and_distribution_type(&profile_json, true); in test_parse_debug_profile()
310 let mut profile_json in test_parse_iternaltesting_profile() variables
[all...]

Completed in 2 milliseconds