Home
last modified time | relevance | path

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

/ohos5.0/base/security/code_signature/services/key_enable/utils/include/
H A Dcert_path.h29 struct CertPathInfo { struct
39 #define ADD_CERT_PATH_CMD _IOW(CERT_IOCTL_MAGIC_NUMBER, 1, CertPathInfo) argument
40 #define REMOVE_CERT_PATH_CMD _IOW(CERT_IOCTL_MAGIC_NUMBER, 2, CertPathInfo)
44 int AddCertPath(const CertPathInfo &info);
45 int RemoveCertPath(const CertPathInfo &info);
/ohos5.0/base/security/code_signature/test/unittest/
H A Dadd_cert_path_test.cpp58 static CertPathInfo MakeCertPathInfo(const char *signing, const char *issuer, in MakeCertPathInfo()
61 CertPathInfo arg = { 0 }; in MakeCertPathInfo()
79 CertPathInfo certPathInfo = MakeCertPathInfo(TEST_SUBJECT.c_str(), TEST_ISSUER.c_str(),
92 CertPathInfo certPathInfo = MakeCertPathInfo(TEST_SUBJECT.c_str(), TEST_ISSUER.c_str(),
106CertPathInfo certPathInfo = MakeCertPathInfo(FAKE_SUBJECT.c_str(), FAKE_ISSUER.c_str(), MAX_CERT_C…
128 CertPathInfo certPathInfo = MakeCertPathInfo(SUBJECT_AS_SYSTEM_TYPE.c_str(),
/ohos5.0/base/security/code_signature/services/key_enable/utils/src/
H A Dcert_path.cpp31 static int IoctlCertPathOperation(const CertPathInfo &info, int cmd, const char *operation) in IoctlCertPathOperation()
51 int AddCertPath(const CertPathInfo &info) in AddCertPath()
56 int RemoveCertPath(const CertPathInfo &info) in RemoveCertPath()
/ohos5.0/base/security/code_signature/services/key_enable/src/
H A Dcert_path_utils.rs107 fn AddCertPath(info: *const CertPathInfo) -> i32; in AddCertPath()
108 fn RemoveCertPath(info: *const CertPathInfo) -> i32; in RemoveCertPath()
334 pub struct CertPathInfo { struct
427 F: Fn(&CertPathInfo) -> i32 { in cert_path_operation()
441 let cert_path_info = CertPathInfo { in cert_path_operation()
/ohos5.0/base/security/code_signature/test/unittest/utils/src/
H A Denable_key_utils.cpp28 CertPathInfo arg = { 0 }; in EnableTestKey()