/base/update/updater/services/package/pkg_verify/ |
D | cert_verify.cpp | 43 int32_t CertVerify::CheckCertChain(STACK_OF(X509) *certStack, X509 *cert) in CheckCertChain() 59 int32_t SingleCertHelper::CertChainCheck(STACK_OF(X509) *certStack, X509 *cert) in CertChainCheck() 92 int32_t SingleCertHelper::VerifySingleCert(X509 *cert) in VerifySingleCert() 103 int32_t SingleCertHelper::CompareCertSubjectAndIssuer(X509 *cert) in CompareCertSubjectAndIssuer()
|
D | openssl_util.cpp | 102 X509 *cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr); in GetX509CertFromPemString() local 124 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in GetX509CertFromPemFile() local 135 bool VerifyX509CertByIssuerCert(X509 *cert, X509 *issuerCert) in VerifyX509CertByIssuerCert() 251 std::string GetX509CertSubjectName(X509 *cert) in GetX509CertSubjectName() 266 std::string GetX509CertIssuerName(X509 *cert) in GetX509CertIssuerName()
|
D | pkcs7_signed_data.cpp | 303 …X509 *cert = X509_find_by_issuer_and_serial(certStack, signerInfo.issuerName, signerInfo.serialNum… in Pkcs7SignleSignerVerify() local 317 int32_t Pkcs7SignedData::VerifyDigest(X509 *cert, const Pkcs7SignerInfo &signer) const in VerifyDigest()
|
/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
D | hap_cert_verify_openssl_utils.cpp | 55 X509* cert = PEM_read_bio_X509(pemBio, nullptr, nullptr, nullptr); in GetX509CertFromPemString() local 73 X509* cert = d2i_X509(nullptr, &derBits, len); in GetX509CertFromBase64String() local 79 X509* cert = GetX509CertFromPemString(certStr); in GetPublickeyBase64FromPemCert() local 98 X509* cert = GetX509CertFromPemString(certStr); in GetFingerprintBase64FromPemCert() local 140 bool HapCertVerifyOpensslUtils::GetPublickeyBase64(const X509* cert, std::string& publicKey) in GetPublickeyBase64() 270 X509* cert = sk_X509_value(certs, i); in GenerateCertSignFromCertStack() local 293 X509* cert = certsChain[0]; in GetCertsChain() local 316 X509* HapCertVerifyOpensslUtils::FindCertOfIssuer(X509* cert, CertSign& certVisitSign) in FindCertOfIssuer() 340 bool HapCertVerifyOpensslUtils::CertVerify(X509* cert, const X509* issuerCert) in CertVerify() 443 …RL* HapCertVerifyOpensslUtils::GetCrlBySignedCertIssuer(STACK_OF(X509_CRL)* crls, const X509* cert) in GetCrlBySignedCertIssuer() [all …]
|
D | hap_verify_openssl_utils.cpp | 100 X509* cert = PKCS7_cert_from_signer_info(p7, signInfo); in GetCertChains() local 212 X509* cert = pkcs7Context.certChains[signInfoNum][0]; in VerifySignInfo() local
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/ |
D | cm_pfx.c | 27 static int32_t CmGetAppCertChain(X509 *cert, STACK_OF(X509) *caCert, struct AppCert *appCert) in CmGetAppCertChain() 87 X509 *cert = NULL; in CmParsePkcs12Cert() local
|
/base/security/crypto_framework/frameworks/js/napi/certificate/src/ |
D | napi_x509_certificate.cpp | 46 HcfX509Certificate *cert; member 140 HcfX509Certificate *cert = context->certClass->GetX509Cert(); in VerifyExecute() local 158 HcfX509Certificate *cert = context->certClass->GetX509Cert(); in GetEncodedExecute() local 273 HcfX509Certificate *cert = GetX509Cert(); in GetPublicKey() local 315 HcfX509Certificate *cert = GetX509Cert(); in CheckValidityWithDate() local 326 HcfX509Certificate *cert = GetX509Cert(); in GetVersion() local 336 HcfX509Certificate *cert = GetX509Cert(); in GetSerialNumber() local 350 HcfX509Certificate *cert = GetX509Cert(); in GetIssuerName() local 373 HcfX509Certificate *cert = GetX509Cert(); in GetSubjectName() local 396 HcfX509Certificate *cert = GetX509Cert(); in GetNotBeforeTime() local [all …]
|
/base/startup/hvb/libhvb/src/cert/ |
D | hvb_cert.c | 96 struct hvb_cert *cert, const char *const *hash_ptn_list, in hash_image_init_desc() 173 static enum hvb_errno _hvb_cert_payload_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_payload_parser() 193 static enum hvb_errno _hvb_cert_signature_parser(struct hvb_cert *cert, uint8_t **p, uint8_t *end) in _hvb_cert_signature_parser() 222 enum hvb_errno hvb_cert_parser(struct hvb_cert *cert, struct hvb_buf *cert_buf) in hvb_cert_parser() 354 static enum hvb_errno _check_rollback_index(struct hvb_ops *ops, struct hvb_cert *cert, struct hvb_… in _check_rollback_index() 387 struct hvb_cert cert = {0}; in cert_init_desc() local
|
/base/security/huks/test/unittest/huks_standard_test/module_test/interface_test/src/ |
D | hks_api_test.cpp | 167 struct HksBlob cert[] = { { sizeof(certData), certData } }; variable 186 struct HksBlob cert[] = { { 0, nullptr }, { 0, nullptr }, { 0, nullptr }, { 0, nullptr } }; variable 210 struct HksBlob cert[] = { variable 237 struct HksBlob cert[] = { variable
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | trusted_root_ca_test.cpp | 90 X509* cert = nullptr; variable
|
/base/security/appverify/interfaces/innerkits/appverify/include/util/ |
D | pkcs7_context.h | 55 for (auto cert : certChain) { in ~Pkcs7Context() local
|
/base/startup/hvb/libhvb/src/footer/ |
D | hvb_footer.c | 75 static enum hvb_errno _load_cert(struct hvb_ops *ops, struct hvb_buf *cert, const char *ptn, struct… in _load_cert()
|
/base/security/huks/frameworks/huks_standard/main/core/src/ |
D | hks_verifier.c | 150 static X509 *GetX509FormatCert(const struct HksCertInfo *cert) in GetX509FormatCert() 179 static int32_t VerifySignature(const struct HksCertInfo *cert, const struct HksCertInfo *issuerCert) in VerifySignature() 392 static int32_t GetKeyDescriptionSeqValue(const struct HksCertInfo *cert, uint8_t **data, uint32_t *… in GetKeyDescriptionSeqValue() 577 struct HksCertInfo *cert = &(certsInfo[i]); in InitCertChainInfo() local
|
/base/security/appverify/interfaces/innerkits/appverify/src/init/ |
D | trusted_root_ca.cpp | 107 X509* cert = HapCertVerifyOpensslUtils::GetX509CertFromPemString(jsonPair.second); in GetTrustedRootCAFromJson() local
|
D | hap_crl_manager.cpp | 173 bool HapCrlManager::CrlCheck(X509* cert, X509_CRL* targetCrl, Pkcs7Context& pkcs7Context) in CrlCheck()
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
D | fs_hvb.c | 206 static int FsHvbGetCert(struct hvb_cert *cert, char *devName, struct hvb_verified_data *vd) in FsHvbGetCert() 366 static int FsHvbConstructVerityTarget(DmVerityTarget *target, char *devName, struct hvb_cert *cert) in FsHvbConstructVerityTarget() 430 struct hvb_cert cert = {0}; in FsHvbCreateVerityTarget() local
|
/base/security/crypto_framework/frameworks/certificate/ |
D | x509_crl.c | 101 static bool IsRevoked(HcfCrl *self, const HcfCertificate *cert) in IsRevoked() 213 static HcfResult GetRevokedCertWithCert(HcfX509Crl *self, HcfX509Certificate *cert, HcfX509CrlEntry… in GetRevokedCertWithCert()
|
/base/update/updater/services/package/pkg_algorithm/ |
D | pkg_algo_sign.h | 36 X509 *cert; member
|
/base/security/crypto_framework/plugin/openssl_plugin/certificate/src/ |
D | x509_crl_openssl.c | 79 static X509 *GetX509FromCertificate(const HcfCertificate *cert) in GetX509FromCertificate() 94 static bool IsRevoked(HcfX509CrlSpi *self, const HcfCertificate *cert) in IsRevoked() 378 static HcfResult GetRevokedCertWithCert(HcfX509CrlSpi *self, HcfX509Certificate *cert, in GetRevokedCertWithCert()
|
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
D | cert_manager_query.c | 387 X509 *cert = InitCertContext(certData->data, certData->size); in GetSysCertAlias() local 431 X509 *cert = InitCertContext(certData->data, certData->size); in CmGetCertSubjectName() local
|
/base/update/updater/test/unittest/package/ |
D | pkg_verify_unittest.cpp | 131 X509 *cert = PEM_read_bio_X509(certbio, nullptr, nullptr, nullptr); in TestOpensslUtilFailed() local
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client_serialization.c | 174 X509 *cert = InitCertContext(cInfo->certInfo.data, cInfo->certInfo.size); in GetInfoFromCertData() local
|
/base/security/certificate_manager/interfaces/kits/js/ |
D | @ohos.security.certManager.d.ts | 337 cert: Uint8Array; property
|
/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | app_verify.c | 368 static int GetCertTypeBySourceName(const TrustAppCert *cert) in GetCertTypeBySourceName() 655 mbedtls_x509_crt *cert = APPV_MALLOC(sizeof(mbedtls_x509_crt)); in ParseCertGetPk() local 841 mbedtls_x509_crt cert; in LoadCertAndCmpDest() local
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_attest.c | 471 static int32_t IsValidAttestCert(struct HksAttestCert *cert) in IsValidAttestCert() 512 static void ParseAttestCert(const struct HksBlob *devCert, struct HksAttestCert *cert) in ParseAttestCert() 1344 struct HksBlob cert = { 0, NULL }; in FormatCertToBuf() local
|