/base/security/certificate_framework/ |
D | README-en.md | 4 …certificate framework shields the implementation differences of third-party certificate algorithm … 11 The certificate framework consists of the following: 13 … capabilities, including parsing certificates, certificate extensions, and CRLs and verifying cert… 14 …suer, subject, signature algorithm, and public key of the certificate based on the certificate dat… 15 …de obtaining the object identifier (OID) list of the certificate extensions based on the certifica… 17 …e chain operations include verifying the validity of a certificate chain based on the certificate … 19 …ry to provide capabilities, such as parsing certificates and obtaining certificate fields, for ser… 41 …Harmony source code, run the following command to separately build the certificate framework compo…
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_get_system_cert_info.cpp | 40 struct CertInfo *certificate = nullptr; member 67 if (context->certificate != nullptr) { in DeleteGetCertInfoAsyncContext() 68 FreeCertInfo(context->certificate); in DeleteGetCertInfoAsyncContext() 114 napi_value certInfo = GenerateCertInfo(env, context->certificate); in GetCertInfoWriteResult() 127 context->certificate = static_cast<struct CertInfo *>(CmMalloc(sizeof(struct CertInfo))); in GetCertInfoExecute() 128 if (context->certificate == nullptr) { in GetCertInfoExecute() 133 (void)memset_s(context->certificate, sizeof(struct CertInfo), 0, sizeof(struct CertInfo)); in GetCertInfoExecute() 135 context->certificate->certInfo.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE)); in GetCertInfoExecute() 136 if (context->certificate->certInfo.data == nullptr) { in GetCertInfoExecute() 141 context->certificate->certInfo.size = MAX_LEN_CERTIFICATE; in GetCertInfoExecute() [all …]
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_app_cert_test.cpp | 28 struct Credential certificate; member 296 struct Credential certificate; variable 297 (void)memset_s(&certificate, sizeof(Credential), 0, sizeof(Credential)); 298 certificate.credData.data = static_cast<uint8_t *>(CmMalloc(MAX_LEN_CERTIFICATE_CHAIN)); 299 ASSERT_TRUE(certificate.credData.data != nullptr); 300 certificate.credData.size = MAX_LEN_CERTIFICATE_CHAIN; 302 ret = CmGetAppCert(&retUri, CM_CREDENTIAL_STORE, &certificate); 305 FreeCMBlobData(&certificate.credData); 326 struct Credential certificate; variable 328 (void)memset_s(&certificate, sizeof(Credential), 0, sizeof(Credential)); [all …]
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | provision_verify_test.cpp | 50 "development-certificate": "ABCD", 51 "distribution-certificate": "1234", 70 "development-certificate": "ABCDEFG", 71 "distribution-certificate": "123456789", 90 "development-certificate": "ABCDEFG", 91 "distribution-certificate": "123456789", 110 "development-certificate": "ABCDEFGH", 111 "distribution-certificate": "1234567890", 135 "development-certificate": "ABCDEFGHIJ", 136 "distribution-certificate": "1234567890123", [all …]
|
/base/security/certificate_framework/frameworks/core/v1.0/ |
D | BUILD.gn | 25 "certificate/cert_chain_validator.c", 26 "certificate/x509_certificate.c", 27 "certificate/x509_crl.c",
|
/base/telephony/core_service/test/fuzztest/setaccesslimit_fuzzer/ |
D | setaccesslimit_fuzzer.cpp | 38 std::string certificate(reinterpret_cast<const char *>(data), size); in DoSomethingInterestingWithMyAPI() 44 iccOperatorRule->SetCertificate(certificate); in DoSomethingInterestingWithMyAPI()
|
/base/security/certificate_manager/interfaces/kits/js/ |
D | @ohos.security.certManager.d.ts | 68 …function installUserTrustedCertificate(certificate: CertBlob, callback: AsyncCallback<CMResult>) :… 69 function installUserTrustedCertificate(certificate: CertBlob,) : Promise<CMResult>; 156 …function updatePrivateCertificate(type: string, keyUri: string, certificate: CertBlob, callback: A… 157 …function updatePrivateCertificate(type: string, keyUri: string, certificate: CertBlob) : Promise<b…
|
/base/telephony/core_service/services/sim/include/ |
D | icc_operator_rule.h | 58 void SetCertificate(const std::string &certificate); 59 void SetCertificate(std::string &&certificate);
|
/base/security/appverify/ |
D | README.md | 17 …certificate generation specifications provided by the application integrity verification module. F… 19 …e application integrity verification module uses the preset public key certificate to verify the s… 30 …ication**: identifies the application source by matching the signature certificate chain with the …
|
/base/telephony/core_service/services/sim/src/ |
D | icc_operator_rule.cpp | 285 void IccOperatorRule::SetCertificate(const std::string &certificate) in SetCertificate() argument 287 this->certificate_ = certificate; in SetCertificate() 290 void IccOperatorRule::SetCertificate(std::string &&certificate) in SetCertificate() argument 292 this->certificate_.swap(certificate); in SetCertificate()
|
/base/security/certificate_framework/frameworks/ |
D | BUILD.gn | 20 "js/napi/certificate:cert",
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/src/ |
D | cert_manager_api.c | 134 struct Credential *certificate) in CmGetAppCert() argument 137 if (keyUri == NULL || certificate == NULL || (store != CM_CREDENTIAL_STORE && in CmGetAppCert() 142 int32_t ret = CmClientGetAppCert(keyUri, store, certificate); in CmGetAppCert()
|
/base/security/certificate_framework/frameworks/common/ |
D | common.gni | 15 "../../interfaces/innerkits/certificate",
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/include/ |
D | cm_ipc_client.h | 44 …lientGetAppCert(const struct CmBlob *keyUri, const uint32_t store, struct Credential *certificate);
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/ |
D | BUILD.gn | 17 module_output_path = "certificate_framework/certificate"
|
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/ |
D | BUILD.gn | 17 module_output_path = "certificate_framework/certificate"
|
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/ |
D | cert_manager_api.h | 42 …_t CmGetAppCert(const struct CmBlob *keyUri, const uint32_t store, struct Credential *certificate);
|
/base/security/certificate_framework/frameworks/core/ |
D | BUILD.gn | 18 "../../interfaces/innerkits/certificate",
|
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/ |
D | BUILD.gn | 17 module_output_path = "certificate_framework/certificate"
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/ |
D | BUILD.gn | 18 module_output_path = "certificate_framework/certificate"
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_x509_crl.cpp | 44 HcfX509Certificate *certificate = nullptr; member 291 HcfX509Certificate *certificate = napiX509Cert->GetX509Cert(); in IsRevoked() local 292 bool isRevoked = x509Crl->base.isRevoked(&(x509Crl->base), &(certificate->base)); in IsRevoked() 529 HcfX509Certificate *certificate = napiX509Cert->GetX509Cert(); in GetRevokedCertificateWithCert() local 532 CfResult ret = x509Crl->getRevokedCertWithCert(x509Crl, certificate, &crlEntry); in GetRevokedCertificateWithCert()
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client.c | 539 struct Credential *certificate) in GetAppCert() argument 575 ret = CmAppCertInfoUnpackFromService(&outBlob, certificate); in GetAppCert() 586 …ClientGetAppCert(const struct CmBlob *keyUri, const uint32_t store, struct Credential *certificate) in CmClientGetAppCert() argument 588 return GetAppCert(CM_MSG_GET_APP_CERTIFICATE, keyUri, store, certificate); in CmClientGetAppCert()
|