Home
last modified time | relevance | path

Searched refs:PemCollection (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dcert_chain_utils.rs29 pub struct PemCollection { struct
33 impl Default for PemCollection { implementation
38 impl PemCollection { impl
41 PemCollection { in new()
H A Dcert_utils.rs16 use super::cert_chain_utils::PemCollection;
34 pub fn get_trusted_certs() -> PemCollection { in get_trusted_certs()
35 let mut root_cert = PemCollection::new(); in get_trusted_certs()
H A Dkey_enable.rs16 use super::cert_chain_utils::PemCollection;
155 fn enable_trusted_keys(key_id: KeySerial, root_cert: &PemCollection) { in enable_trusted_keys() argument
172 fn check_and_add_cert_path(root_cert: &PemCollection, cert_paths: &TrustCertPath) -> bool { in check_and_add_cert_path() argument
186 root_cert: PemCollection, in add_profile_cert_path_thread() argument
H A Dprofile_utils.rs17 use super::cert_chain_utils::PemCollection;
306 root_cert: &PemCollection, in add_profile_cert_path() argument
/ohos5.0/base/security/code_signature/test/unittest/
H A Drust_key_enable_test.rs20 use key_enable::cert_chain_utils::PemCollection;
45 let mut root_cert = PemCollection::new(); in test_load_pem_cert_from_valid_json_file()
52 let mut root_cert = PemCollection::new(); in test_invalid_pem_cert_file_path()
59 let mut root_cert = PemCollection::new(); in test_invalid_pem_cert_json_structure()
67 let mut root_cert = PemCollection::new(); in test_empty_pem_cert_json_file()